Skip to content
DocsTry Aspire
DocsTry

ReferenceExpressionBuilder

Handle
📦 Aspire.Hosting v13.4.0
interface ReferenceExpressionBuilder {
readonly isEmpty: boolean;
appendFormatted(
value: string,
format?: string): void;
appendLiteral(value: string): void;
appendValueProvider(
valueProvider: any,
format?: string): void;
build(): ReferenceExpression;
}

Properties

propertyisEmptybooleanget
Indicates whether the expression is empty.

Methods

Appends a formatted value to the expression.
appendFormatted(
value: string,
format?: string): void
valuestring
formatstringoptional
Appends a literal value to the expression.
appendLiteral(value: string): void
valuestring
Appends a value provider to the reference expression
appendValueProvider(
valueProvider: any,
format?: string): void
valueProviderany
formatstringoptional
methodbuild
Builds the reference expression
build(): ReferenceExpression
ReferenceExpression