संपादित करें

इसके माध्यम से साझा किया गया


DefaultInterpolatedStringHandler Struct

Definition

Provides a handler used by the language compiler to process interpolated strings into String instances.

public value class DefaultInterpolatedStringHandler
public ref struct DefaultInterpolatedStringHandler
type DefaultInterpolatedStringHandler = struct
Public Structure DefaultInterpolatedStringHandler
Inheritance
DefaultInterpolatedStringHandler

Constructors

DefaultInterpolatedStringHandler(Int32, Int32, IFormatProvider, Span<Char>)

Creates a handler used to translate an interpolated string into a String.

DefaultInterpolatedStringHandler(Int32, Int32, IFormatProvider)

Creates a handler used to translate an interpolated string into a String.

DefaultInterpolatedStringHandler(Int32, Int32)

Creates a handler used to translate an interpolated string into a String.

Methods

AppendFormatted(Object, Int32, String)

Writes the specified value to the handler.

AppendFormatted(ReadOnlySpan<Char>, Int32, String)

Writes the specified string of chars to the handler.

AppendFormatted(ReadOnlySpan<Char>)

Writes the specified character span to the handler.

AppendFormatted(String, Int32, String)

Writes the specified value to the handler.

AppendFormatted(String)

Writes the specified value to the handler.

AppendFormatted<T>(T, Int32, String)

Writes the specified value to the handler.

AppendFormatted<T>(T, Int32)

Writes the specified value to the handler.

AppendFormatted<T>(T, String)

Writes the specified value to the handler.

AppendFormatted<T>(T)

Writes the specified value to the handler.

AppendLiteral(String)

Writes the specified string to the handler.

ToString()

Gets the built String.

ToStringAndClear()

Gets the built String and clears the handler.

Applies to