Implemented interface member:
method
GetValueAsync
Aspire.Hosting.ApplicationModel.IValueProvider.GetValueAsync(System.Threading.CancellationToken)
17 references to GetValueAsync
Aspire.Hosting (1)
ApplicationModel\EndpointReference.cs (1)
80public ValueTask<string?> GetValueAsync(CancellationToken cancellationToken = default) => Property(EndpointProperty.Url).GetValueAsync(cancellationToken);
Aspire.Hosting.Tests (16)
ConditionalReferenceExpressionTests.cs (4)
132var value = await tlsExpr.GetValueAsync(); 149var value = await tlsExpr.GetValueAsync(); 176Assert.Equal(bool.FalseString, await tlsExpr.GetValueAsync()); 179Assert.Equal(bool.TrueString, await tlsExpr.GetValueAsync());
EndpointReferenceTests.cs (12)
40var getValueTask = endpointExpr.GetValueAsync(CancellationToken.None); 60var url = await endpointExpr.GetValueAsync(CancellationToken.None); 74var getValueTask = hostExpr.GetValueAsync(CancellationToken.None); 93var getValueTask = portExpr.GetValueAsync(CancellationToken.None); 112var scheme = await schemeExpr.GetValueAsync(CancellationToken.None); 126var ipv4 = await ipv4Expr.GetValueAsync(CancellationToken.None); 140var targetPort = await targetPortExpr.GetValueAsync(CancellationToken.None); 154var getValueTask = targetPortExpr.GetValueAsync(CancellationToken.None); 174var getValueTask = endpointExpr.GetValueAsync(cts.Token); 193var task1 = expr1.GetValueAsync(CancellationToken.None); 194var task2 = expr2.GetValueAsync(CancellationToken.None); 195var task3 = expr3.GetValueAsync(CancellationToken.None);