Skip to content
Docs Try Aspire

ReferenceExpressionBuilder

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

Properties

property isEmpty boolean get
Gets the IsEmpty property

Methods

method appendFormatted
Appends a formatted string value to the reference expression
appendFormatted(
value: string,
format?: string): void
value string
format string optional
method appendLiteral
Appends a literal string to the reference expression
appendLiteral(value: string): void
value string
method appendValueProvider
Appends a value provider to the reference expression
appendValueProvider(
valueProvider: any,
format?: string): void
valueProvider any
format string optional
method build
Builds the reference expression
build(): ReferenceExpression
ReferenceExpression