7 references to WithReference
Aspire.Hosting.Docker.Tests (1)
DockerComposePublisherTests.cs (1)
60
.
WithReference
(api.GetEndpoint("http"));
Aspire.Hosting.Kubernetes.Tests (1)
KubernetesPublisherTests.cs (1)
70
.
WithReference
(api.GetEndpoint("http"));
Aspire.Hosting.Tests (5)
WithReferenceTests.cs (5)
26
var projectB = builder.AddProject<ProjectB>("b").
WithReference
(projectA.GetEndpoint(endpointName));
56
.
WithReference
(projectA.GetEndpoint("mybinding"))
57
.
WithReference
(projectA.GetEndpoint("myconflictingbinding"));
81
.
WithReference
(projectA.GetEndpoint("mybinding"))
82
.
WithReference
(projectA.GetEndpoint("mynonconflictingbinding"));