24 references to SetValue
Aspire.Hosting (3)
ApplicationModel\EndpointAnnotation.cs (2)
378AllocatedEndpointSnapshot.SetValue(value); 452nes.Snapshot.SetValue(endpoint);
Orchestrator\ApplicationOrchestrator.cs (1)
594endpoint.BrowserUrlsSnapshot.SetValue(browserUrls
Aspire.Hosting.Tests (21)
EndpointReferenceTests.cs (10)
525endpoint.EndpointAnnotation.BrowserUrlsSnapshot.SetValue( 546endpoint.EndpointAnnotation.BrowserUrlsSnapshot.SetValue([]); 559endpoint.EndpointAnnotation.BrowserUrlsSnapshot.SetValue([new() { Url = "https://frontend.example/path" }]); 575resource.GetEndpoint("http").EndpointAnnotation.BrowserUrlsSnapshot.SetValue([new() { Url = "http://frontend.example" }]); 576resource.GetEndpoint("https").EndpointAnnotation.BrowserUrlsSnapshot.SetValue([new() { Url = "https://separate.example" }]); 589host.EndpointAnnotation.BrowserUrlsSnapshot.SetValue([new() { Url = "https://public.example/app" }]); 606endpoint.EndpointAnnotation.BrowserUrlsSnapshot.SetValue( 628endpoint.EndpointAnnotation.BrowserUrlsSnapshot.SetValue([new() { Url = url }]); 663endpoint.EndpointAnnotation.BrowserUrlsSnapshot.SetValue([new() { Url = "https://frontend.example/app" }]); 677endpoint.EndpointAnnotation.BrowserUrlsSnapshot.SetValue([new() { Url = "https://local.example" }]);
ValueSnapshotTests.cs (11)
17snapshot.SetValue("test"); 27snapshot.SetValue("test"); 42snapshot.SetValue("first"); 47snapshot.SetValue("second"); 62snapshot.SetValue("test"); 112snapshot.SetValue("recovered"); 123snapshot.SetValue("test"); 146snapshot.SetValue("test"); 166snapshot.SetValue("first"); 169snapshot.SetValue("second"); 200snapshot.SetValue("test");