32 references to SetValue
Aspire.Hosting (3)
ApplicationModel\EndpointAnnotation.cs (1)
226AllocatedEndpointSnapshot.SetValue(value);
Dcp\DcpExecutor.cs (2)
998snapshot.SetValue(allocatedEndpoint); 1060snapshot.SetValue(tunnelAllocatedEndpoint);
Aspire.Hosting.Azure.Tests (1)
AzurePostgresExtensionsTests.cs (1)
375snapshot.SetValue(new AllocatedEndpoint(e, "postgres.dev.internal", 5432, EndpointBindingMode.SingleAddress, targetPortExpression: null, networkID: KnownNetworkIdentifiers.DefaultAspireContainerNetwork));
Aspire.Hosting.Containers.Tests (2)
ContainerResourceTests.cs (2)
107snapshot.SetValue(ccae); 118snapshot.SetValue(ae);
Aspire.Hosting.Maui.Tests (1)
MauiPlatformExtensionsTests.cs (1)
639endpointAnnotation.AllocatedEndpointSnapshot.SetValue(new AllocatedEndpoint(endpointAnnotation, "localhost", 1234));
Aspire.Hosting.Milvus.Tests (1)
AddMilvusTests.cs (1)
103snapshot.SetValue(new AllocatedEndpoint(e, "my-milvus.dev.internal", MilvusPortGrpc, EndpointBindingMode.SingleAddress, targetPortExpression: null, networkID: KnownNetworkIdentifiers.DefaultAspireContainerNetwork));
Aspire.Hosting.PostgreSQL.Tests (1)
PostgresMcpBuilderTests.cs (1)
82snapshot.SetValue(new AllocatedEndpoint(e, "postgres.dev.internal", 5432, EndpointBindingMode.SingleAddress, targetPortExpression: null, networkID: KnownNetworkIdentifiers.DefaultAspireContainerNetwork));
Aspire.Hosting.Qdrant.Tests (2)
AddQdrantTests.cs (2)
176snapshot.SetValue(new AllocatedEndpoint(e, "my-qdrant.dev.internal", 6334, EndpointBindingMode.SingleAddress, targetPortExpression: null, networkID: KnownNetworkIdentifiers.DefaultAspireContainerNetwork)); 183snapshot.SetValue(new AllocatedEndpoint(e, "my-qdrant.dev.internal", 6333, EndpointBindingMode.SingleAddress, targetPortExpression: null, networkID: KnownNetworkIdentifiers.DefaultAspireContainerNetwork));
Aspire.Hosting.Redis.Tests (4)
AddRedisTests.cs (4)
308snapshot.SetValue(new AllocatedEndpoint(e, "myredis1.dev.internal", 5001, EndpointBindingMode.SingleAddress, targetPortExpression: null, networkID: KnownNetworkIdentifiers.DefaultAspireContainerNetwork)); 315snapshot.SetValue(new AllocatedEndpoint(e, "myredis2.dev.internal", 5002, EndpointBindingMode.SingleAddress, targetPortExpression: null, networkID: KnownNetworkIdentifiers.DefaultAspireContainerNetwork)); 322snapshot.SetValue(new AllocatedEndpoint(e, "myredis3.dev.internal", 5003, EndpointBindingMode.SingleAddress, targetPortExpression: null, networkID: KnownNetworkIdentifiers.DefaultAspireContainerNetwork)); 738snapshot.SetValue(new AllocatedEndpoint(e, "redis.dev.internal", 6379, EndpointBindingMode.SingleAddress, targetPortExpression: null, networkID: KnownNetworkIdentifiers.DefaultAspireContainerNetwork));
Aspire.Hosting.Tests (17)
EndpointReferenceTests.cs (1)
334snapshot.SetValue(containerEndpoint);
ExpressionResolverTests.cs (3)
101snapshot.SetValue(ae); 113snapshot.SetValue(ae); 125snapshot.SetValue(ae);
ValueSnapshotTests.cs (11)
16snapshot.SetValue("test"); 26snapshot.SetValue("test"); 41snapshot.SetValue("first"); 46snapshot.SetValue("second"); 61snapshot.SetValue("test"); 111snapshot.SetValue("recovered"); 122snapshot.SetValue("test"); 145snapshot.SetValue("test"); 165snapshot.SetValue("first"); 168snapshot.SetValue("second"); 199snapshot.SetValue("test");
WithEnvironmentTests.cs (2)
234snapshot.SetValue(ae); 311endpointSnapshot.SetValue(new AllocatedEndpoint(