Udostępnij za pośrednictwem


ReferenceExpression Class

Definition

Represents an expression that might be made up of multiple resource properties. For example, a connection string might be made up of a host, port, and password from different endpoints.

public class ReferenceExpression : Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences
type ReferenceExpression = class
    interface IManifestExpressionProvider
    interface IValueProvider
    interface IValueWithReferences
Public Class ReferenceExpression
Implements IManifestExpressionProvider, IValueProvider, IValueWithReferences
Inheritance
ReferenceExpression
Implements

Properties

Format

The format string for this expression.

ManifestExpressions

The manifest expressions for the parameters for the format string.

ValueExpression

The value expression for the format string.

ValueProviders

The list of IValueProvider that will be used to resolve parameters for the format string.

Methods

Create(ReferenceExpression+ExpressionInterpolatedStringHandler)

Creates a new instance of ReferenceExpression with the specified format and value providers.

GetValueAsync(CancellationToken)

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

Explicit Interface Implementations

IValueWithReferences.References

Applies to