13 references to IsValueSet
Aspire.Hosting (4)
ApplicationModel\EndpointAnnotation.cs (2)
355if (!AllocatedEndpointSnapshot.IsValueSet) 470if (!endpointSnapshot.NetworkID.Equals(networkId) || !endpointSnapshot.Snapshot.IsValueSet)
ApplicationModel\EndpointReference.cs (1)
412if (!snapshot.IsValueSet && ResourceUrlsCallbackScope.CurrentResource is { } callbackResource)
ApplicationModel\ValueSnapshot.cs (1)
79private T? DebuggerValue() => IsValueSet ? _firstValueTcs.Task.Result : default;
Aspire.Hosting.DevTunnels (1)
DevTunnelResourceBuilderExtensions.cs (1)
931endpointSnapshot => endpointSnapshot.NetworkID == networkId && endpointSnapshot.Snapshot.IsValueSet);
Aspire.Hosting.Tests (8)
ManifestExpressionTests.cs (2)
425Assert.False(endpoint.EndpointAnnotation.BrowserUrlsSnapshot.IsValueSet); 486Assert.False(frontend.GetEndpoint("http").EndpointAnnotation.BrowserUrlsSnapshot.IsValueSet);
ValueSnapshotTests.cs (6)
138Assert.False(snapshot.IsValueSet); 148Assert.True(snapshot.IsValueSet); 158Assert.True(snapshot.IsValueSet); 167Assert.True(snapshot.IsValueSet); 170Assert.True(snapshot.IsValueSet); 173Assert.True(snapshot.IsValueSet);