52 references to HostedAgentProtocol
Aspire.Hosting.Azure.Kubernetes.Tests (1)
AzureKubernetesFoundryReferenceTests.cs (1)
37
agent.AsHostedAgent(project,
HostedAgentProtocol
.Responses, "2.0.0");
Aspire.Hosting.Azure.Tests (8)
AzureAppServiceTests.cs (1)
356
agent.AsHostedAgent(project,
HostedAgentProtocol
.Responses, "2.0.0");
AzureContainerAppsTests.cs (1)
136
agent.AsHostedAgent(project,
HostedAgentProtocol
.Responses, "2.0.0");
AzureDeployerTests.cs (1)
1340
.AsHostedAgent(foundryProject,
HostedAgentProtocol
.Responses, "2.0.0");
FoundryExtensionsTests.cs (5)
320
.AsHostedAgent(project,
HostedAgentProtocol
.Responses, "2.0.0");
352
.AsHostedAgent(project,
HostedAgentProtocol
.Responses, "2.0.0");
390
.AsHostedAgent(project,
HostedAgentProtocol
.Responses, "2.0.0");
431
.AsHostedAgent(project,
HostedAgentProtocol
.Responses, "2.0.0");
471
advisorAgent.AsHostedAgent(project,
HostedAgentProtocol
.Responses, "2.0.0");
Aspire.Hosting.Foundry (14)
HostedAgent\HostedAgentBuilderExtension.cs (14)
47
HostedAgentProtocol
protocol,
92
return ConfigureAsHostedAgent(builder, project,
HostedAgentProtocol
.Responses, AzureHostedAgentResource.DefaultResponsesProtocolVersion, configure);
145
HostedAgentProtocol
.Responses,
166
HostedAgentProtocol
protocol,
197
HostedAgentProtocol
protocol,
208
HostedAgentProtocol
protocol,
248
HostedAgentProtocol
protocol,
286
private static void ConfigureRunMode<T>(IResourceBuilder<T> builder,
HostedAgentProtocol
protocol)
419
private static HostedAgentRunProtocol GetRunProtocol(
HostedAgentProtocol
protocol)
421
if (protocol ==
HostedAgentProtocol
.Responses)
426
if (protocol ==
HostedAgentProtocol
.Invocations)
595
private static ProtocolVersionRecord CreateProtocolVersionRecord(
HostedAgentProtocol
protocol, string protocolVersion)
601
HostedAgentProtocol
.Responses => new ProtocolVersionRecord(ProjectsAgentProtocol.Responses, protocolVersion),
602
HostedAgentProtocol
.Invocations => new ProtocolVersionRecord(ProjectsAgentProtocol.Invocations, protocolVersion),
Aspire.Hosting.Foundry.Tests (27)
HostedAgentExtensionTests.cs (27)
28
.AsHostedAgent(
HostedAgentProtocol
.Responses, "2.0.0");
44
.AsHostedAgent(
HostedAgentProtocol
.Responses, "2.0.0");
61
.AsHostedAgent(
HostedAgentProtocol
.Responses, "2.0.0");
76
.AsHostedAgent(
HostedAgentProtocol
.Responses, "2.0.0");
101
.AsHostedAgent(
HostedAgentProtocol
.Responses, "2.0.0");
131
.AsHostedAgent(project,
HostedAgentProtocol
.Invocations, "1.0.0");
168
.AsHostedAgent(project,
HostedAgentProtocol
.Invocations, "1.0.0");
197
.AsHostedAgent(
HostedAgentProtocol
.Responses, " "));
214
.AsHostedAgent(project,
HostedAgentProtocol
.Responses, "2.0.0");
231
.AsHostedAgent(project,
HostedAgentProtocol
.Responses, "2.0.0");
244
.AsHostedAgent(project,
HostedAgentProtocol
.Responses, "2.0.0");
257
.AsHostedAgent(project,
HostedAgentProtocol
.Responses, "2.0.0");
362
.AsHostedAgent(project,
HostedAgentProtocol
.Responses, "2.0.0");
395
.AsHostedAgent(project,
HostedAgentProtocol
.Responses, "2.0.0");
416
.AsHostedAgent(project,
HostedAgentProtocol
.Responses, "2.0.0");
454
.AsHostedAgentWithProtocolForExport(project,
HostedAgentProtocol
.Invocations, "1.0.0", options);
517
.AsHostedAgent(project,
HostedAgentProtocol
.Invocations, "1.0.0", configuration =>
541
.AsHostedAgent(project,
HostedAgentProtocol
.Invocations, "1.0.0", configuration =>
610
.AsHostedAgentWithProtocolForExport(project,
HostedAgentProtocol
.Responses, "2.0.0", options: null);
638
.AsHostedAgent(
HostedAgentProtocol
.Responses, "2.0.0");
654
.AsHostedAgent(project,
HostedAgentProtocol
.Responses, "2.0.0");
669
.AsHostedAgent(project,
HostedAgentProtocol
.Responses, "2.0.0");
685
.AsHostedAgent(project,
HostedAgentProtocol
.Responses, "2.0.0");
730
.AsHostedAgent(project,
HostedAgentProtocol
.Responses, "2.0.0");
751
.AsHostedAgent(project,
HostedAgentProtocol
.Responses, "2.0.0");
784
.AsHostedAgent(project,
HostedAgentProtocol
.Responses, "2.0.0");
786
.AsHostedAgent(otherProject,
HostedAgentProtocol
.Responses, "2.0.0");
FoundryAgents.AppHost (2)
AppHost.cs (2)
61
.AsHostedAgent(project,
HostedAgentProtocol
.Responses, "2.0.0");
70
.AsHostedAgent(project,
HostedAgentProtocol
.Invocations, "1.0.0");