15 references to BrowserUrlsSnapshot
Aspire.Hosting (3)
ApplicationModel\EndpointReference.cs (1)
411
var snapshot = Endpoint.EndpointAnnotation.
BrowserUrlsSnapshot
;
Orchestrator\ApplicationOrchestrator.cs (2)
599
endpoint.
BrowserUrlsSnapshot
.SetValue(browserUrls
625
endpoint.
BrowserUrlsSnapshot
.SetException(ex);
Aspire.Hosting.Tests (12)
EndpointReferenceTests.cs (10)
550
endpoint.EndpointAnnotation.
BrowserUrlsSnapshot
.SetValue(
571
endpoint.EndpointAnnotation.
BrowserUrlsSnapshot
.SetValue([]);
584
endpoint.EndpointAnnotation.
BrowserUrlsSnapshot
.SetValue([new() { Url = "https://frontend.example/path" }]);
600
resource.GetEndpoint("http").EndpointAnnotation.
BrowserUrlsSnapshot
.SetValue([new() { Url = "http://frontend.example" }]);
601
resource.GetEndpoint("https").EndpointAnnotation.
BrowserUrlsSnapshot
.SetValue([new() { Url = "https://separate.example" }]);
614
host.EndpointAnnotation.
BrowserUrlsSnapshot
.SetValue([new() { Url = "https://public.example/app" }]);
631
endpoint.EndpointAnnotation.
BrowserUrlsSnapshot
.SetValue(
653
endpoint.EndpointAnnotation.
BrowserUrlsSnapshot
.SetValue([new() { Url = url }]);
688
endpoint.EndpointAnnotation.
BrowserUrlsSnapshot
.SetValue([new() { Url = "https://frontend.example/app" }]);
702
endpoint.EndpointAnnotation.
BrowserUrlsSnapshot
.SetValue([new() { Url = "https://local.example" }]);
ManifestExpressionTests.cs (2)
425
Assert.False(endpoint.EndpointAnnotation.
BrowserUrlsSnapshot
.IsValueSet);
486
Assert.False(frontend.GetEndpoint("http").EndpointAnnotation.
BrowserUrlsSnapshot
.IsValueSet);