ReferenceExpression Properties
Class Properties 10 members
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.
Gets the condition value provider whose result is compared to
ReferenceExpression.MatchValue, or null when ReferenceExpression.IsConditional is false. public IValueProvider? Condition { get; } The format string for this expression.
public string Format { get; } Gets a value indicating whether this expression is a conditional expression that selects between two branches based on a condition.
public bool IsConditional { get; } The manifest expressions for the parameters for the format string.
public IReadOnlyList<string> ManifestExpressions { get; } Gets the value that
ReferenceExpression.Condition is compared against to select the ReferenceExpression.WhenTrue branch, or null when ReferenceExpression.IsConditional is false. public string? MatchValue { get; } The string formats of the parameters, e.g. "uri".
public IReadOnlyList<string?> StringFormats { get; } The value expression for the format string.
public string ValueExpression { get; } The list of
IValueProvider that will be used to resolve parameters for the format string. public IReadOnlyList<IValueProvider> ValueProviders { get; } Gets the expression to evaluate when
ReferenceExpression.Condition does not evaluate to ReferenceExpression.MatchValue, or null when ReferenceExpression.IsConditional is false. public ReferenceExpression? WhenFalse { get; } Gets the expression to evaluate when
ReferenceExpression.Condition evaluates to ReferenceExpression.MatchValue, or null when ReferenceExpression.IsConditional is false. public ReferenceExpression? WhenTrue { get; }