Condividi tramite


ReferenceExpressionBuilder.ReferenceExpressionBuilderInterpolatedStringHandler Constructor

Definition

Represents a handler for interpolated strings that contain expressions. Those expressions will either be literal strings or instances of types that implement both IValueProvider and IManifestExpressionProvider.

public ReferenceExpressionBuilderInterpolatedStringHandler (int literalLength, int formattedCount, Aspire.Hosting.ApplicationModel.ReferenceExpressionBuilder builder);
new Aspire.Hosting.ApplicationModel.ReferenceExpressionBuilder.ReferenceExpressionBuilderInterpolatedStringHandler : int * int * Aspire.Hosting.ApplicationModel.ReferenceExpressionBuilder -> Aspire.Hosting.ApplicationModel.ReferenceExpressionBuilder.ReferenceExpressionBuilderInterpolatedStringHandler
Public Sub New (literalLength As Integer, formattedCount As Integer, builder As ReferenceExpressionBuilder)

Parameters

literalLength
Int32

The length of the literal part of the interpolated string.

formattedCount
Int32

The number of formatted parts in the interpolated string.

builder
ReferenceExpressionBuilder

The builder that will be used to create the ReferenceExpression.

Applies to