2 instantiations of ResourceToolEntry
aspire (1)
Mcp\McpResourceToolRefreshService.cs (1)
111
refreshedMap[exposedName] = new
ResourceToolEntry
(routedResourceName, tool);
Aspire.Cli.Tests (1)
Commands\AgentMcpCommandTests.cs (1)
1273
var projected = new
ResourceToolEntry
("resource", source).ToProtocolTool("resource_contract_tool");
7 references to ResourceToolEntry
aspire (7)
Commands\AgentMcpCommand.cs (1)
360
if (snapshot.ToolMap.TryGetValue(toolName, out
var
resourceAndTool))
Mcp\IMcpResourceToolRefreshService.cs (1)
80
IReadOnlyDictionary<string,
ResourceToolEntry
> ToolMap);
Mcp\McpResourceToolRefreshService.cs (5)
25
new Dictionary<string,
ResourceToolEntry
>(StringComparer.Ordinal));
86
var refreshedMap = new Dictionary<string,
ResourceToolEntry
>(StringComparer.Ordinal);
143
IReadOnlyDictionary<string,
ResourceToolEntry
> previous,
144
IReadOnlyDictionary<string,
ResourceToolEntry
> current)
153
if (!current.TryGetValue(exposedName, out
var
currentEntry) ||