Implemented interface member:
method
GetValueAsync
Aspire.Hosting.ApplicationModel.IValueProvider.GetValueAsync(System.Threading.CancellationToken)
13 references to GetValueAsync
Aspire.Hosting (1)
ApplicationModel\EndpointReference.cs (1)
73public ValueTask<string?> GetValueAsync(CancellationToken cancellationToken = default) => Property(EndpointProperty.Url).GetValueAsync(cancellationToken);
Aspire.Hosting.Tests (12)
EndpointReferenceTests.cs (12)
39var getValueTask = endpointExpr.GetValueAsync(CancellationToken.None); 59var url = await endpointExpr.GetValueAsync(CancellationToken.None); 73var getValueTask = hostExpr.GetValueAsync(CancellationToken.None); 92var getValueTask = portExpr.GetValueAsync(CancellationToken.None); 111var scheme = await schemeExpr.GetValueAsync(CancellationToken.None); 125var ipv4 = await ipv4Expr.GetValueAsync(CancellationToken.None); 139var targetPort = await targetPortExpr.GetValueAsync(CancellationToken.None); 153var getValueTask = targetPortExpr.GetValueAsync(CancellationToken.None); 173var getValueTask = endpointExpr.GetValueAsync(cts.Token); 192var task1 = expr1.GetValueAsync(CancellationToken.None); 193var task2 = expr2.GetValueAsync(CancellationToken.None); 194var task3 = expr3.GetValueAsync(CancellationToken.None);