Implemented interface member:
method
GetValueAsync
Aspire.Hosting.ApplicationModel.IValueProvider.GetValueAsync(System.Threading.CancellationToken)
15 references to GetValueAsync
Aspire.Hosting (3)
ApplicationModel\EndpointReference.cs (1)
58public ValueTask<string?> GetValueAsync(CancellationToken cancellationToken = default) => Property(EndpointProperty.Url).GetValueAsync(cancellationToken);
ApplicationModel\ExpressionResolver.cs (2)
21(EndpointProperty.Port, true) => await endpointReference.Property(EndpointProperty.TargetPort).GetValueAsync(cancellationToken).ConfigureAwait(false), 31_ => await endpointReference.Property(property).GetValueAsync(cancellationToken).ConfigureAwait(false)
Aspire.Hosting.Tests (12)
EndpointReferenceTests.cs (12)
38var getValueTask = endpointExpr.GetValueAsync(CancellationToken.None); 58var url = await endpointExpr.GetValueAsync(CancellationToken.None); 72var getValueTask = hostExpr.GetValueAsync(CancellationToken.None); 91var getValueTask = portExpr.GetValueAsync(CancellationToken.None); 110var scheme = await schemeExpr.GetValueAsync(CancellationToken.None); 124var ipv4 = await ipv4Expr.GetValueAsync(CancellationToken.None); 138var targetPort = await targetPortExpr.GetValueAsync(CancellationToken.None); 152var getValueTask = targetPortExpr.GetValueAsync(CancellationToken.None); 172var getValueTask = endpointExpr.GetValueAsync(cts.Token); 191var task1 = expr1.GetValueAsync(CancellationToken.None); 192var task2 = expr2.GetValueAsync(CancellationToken.None); 193var task3 = expr3.GetValueAsync(CancellationToken.None);