2 writes to _resourceToolMap
aspire (2)
Commands\AgentMcpCommand.cs (2)
255_resourceToolMap = null; 400_resourceToolMap = refreshedMap;
6 references to _resourceToolMap
aspire (6)
Commands\AgentMcpCommand.cs (6)
158if (_resourceToolMap is null || _selectedAppHostPath != _auxiliaryBackchannelMonitor.SelectedAppHostPath) 165tools.AddRange(_resourceToolMap.Select(x => new Tool 214if (_resourceToolMap is null || _selectedAppHostPath != _auxiliaryBackchannelMonitor.SelectedAppHostPath) 223if (_resourceToolMap.TryGetValue(toolName, out var resourceAndTool)) 342[MemberNotNull(nameof(_resourceToolMap))] 403return _resourceToolMap.Count + _knownTools.Count;