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