Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

ReferenceExpressionBuilder.AppendFormatted

Method
📦 Aspire.Hosting v17.0.0
type ReferenceExpressionBuilder interface {
// ... omitted for brevity
AppendFormatted(
value string,
options ...*AppendFormattedOptions,
) error
}

Signature

methodAppendFormatted
Appends a formatted value to the expression.
AppendFormatted(
value string,
options ...*AppendFormattedOptions,
) error
valuestringThe formatted string to be appended to the interpolated string.
options...*AppendFormattedOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*AppendFormattedOptions argument.

Format*stringThe format to be applied to the value. e.g., "uri"
error

Returns error.

Defined on

This method is defined on the following type: