ReferenceExpression.GetValueAsync Method

Definition

Overloads

GetValueAsync(CancellationToken)

Gets the value of the expression. The final string value after evaluating the format string and its parameters.

GetValueAsync(ValueProviderContext, CancellationToken)

Gets the value of the expression. The final string value after evaluating the format string and its parameters.

GetValueAsync(CancellationToken)

Source:
ReferenceExpression.cs
Source:
ReferenceExpression.cs
Source:
ReferenceExpression.cs
Source:
ReferenceExpression.cs
Source:
ReferenceExpression.cs
Source:
ReferenceExpression.cs
Source:
ReferenceExpression.cs

Gets the value of the expression. The final string value after evaluating the format string and its parameters.

public System.Threading.Tasks.ValueTask<string?> GetValueAsync(System.Threading.CancellationToken cancellationToken);
abstract member GetValueAsync : System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<string>
override this.GetValueAsync : System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<string>
Public Function GetValueAsync (cancellationToken As CancellationToken) As ValueTask(Of String)

Parameters

cancellationToken
CancellationToken

A CancellationToken.

Returns

Implements

Applies to

GetValueAsync(ValueProviderContext, CancellationToken)

Source:
ReferenceExpression.cs

Gets the value of the expression. The final string value after evaluating the format string and its parameters.

public System.Threading.Tasks.ValueTask<string?> GetValueAsync(Aspire.Hosting.ApplicationModel.ValueProviderContext context, System.Threading.CancellationToken cancellationToken);
abstract member GetValueAsync : Aspire.Hosting.ApplicationModel.ValueProviderContext * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<string>
override this.GetValueAsync : Aspire.Hosting.ApplicationModel.ValueProviderContext * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<string>
Public Function GetValueAsync (context As ValueProviderContext, cancellationToken As CancellationToken) As ValueTask(Of String)

Parameters

context
ValueProviderContext

A context for resolving the value.

cancellationToken
CancellationToken

A CancellationToken.

Returns

Implements

Applies to