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