3 references to WithReference
Aspire.Hosting.Tests (3)
WithReferenceTests.cs (3)
300Assert.Throws<InvalidOperationException>(() => builder.AddProject<ProjectA>("projecta").WithReference("petstore", new Uri("petstore.swagger.io", UriKind.Relative))); 308Assert.Throws<InvalidOperationException>(() => builder.AddProject<ProjectA>("projecta").WithReference("petstore", new Uri("https://petstore.swagger.io/v2"))); 317.WithReference("petstore", new Uri("https://petstore.swagger.io/"));