Skip to content
DocsTry Aspire
DocsTry

ExpressionInterpolatedStringHandler Constructors

StructConstructors1 member
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.
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 struct ExpressionInterpolatedStringHandler
{
public ExpressionInterpolatedStringHandler(
int literalLength,
int formattedCount)
{
// ...
}
}
literalLengthintThe length of the literal part of the interpolated string.
formattedCountintThe number of formatted parts in the interpolated string.