DefaultInterpolatedStringHandler Konstruktory

Definicja

Przeciążenia

Nazwa Opis
DefaultInterpolatedStringHandler(Int32, Int32)

Tworzy procedurę obsługi używaną do tłumaczenia ciągu interpolowanego na Stringelement .

DefaultInterpolatedStringHandler(Int32, Int32, IFormatProvider)

Tworzy procedurę obsługi używaną do tłumaczenia ciągu interpolowanego na Stringelement .

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

Tworzy procedurę obsługi używaną do tłumaczenia ciągu interpolowanego na Stringelement .

DefaultInterpolatedStringHandler(Int32, Int32)

Źródło:
DefaultInterpolatedStringHandler.cs
Źródło:
DefaultInterpolatedStringHandler.cs
Źródło:
DefaultInterpolatedStringHandler.cs
Źródło:
DefaultInterpolatedStringHandler.cs
Źródło:
DefaultInterpolatedStringHandler.cs

Tworzy procedurę obsługi używaną do tłumaczenia ciągu interpolowanego na Stringelement .

public:
 DefaultInterpolatedStringHandler(int literalLength, int formattedCount);
public DefaultInterpolatedStringHandler(int literalLength, int formattedCount);
new System.Runtime.CompilerServices.DefaultInterpolatedStringHandler : int * int -> System.Runtime.CompilerServices.DefaultInterpolatedStringHandler
Public Sub New (literalLength As Integer, formattedCount As Integer)

Parametry

literalLength
Int32

Liczba znaków stałych poza wyrażeniami interpolacji w ciągu interpolowanym.

formattedCount
Int32

Liczba wyrażeń interpolacji w ciągu interpolowanym.

Uwagi

Ma to być wywoływane tylko przez kod wygenerowany przez kompilator. Argumenty nie są weryfikowane, ponieważ w przeciwnym razie mają być używane bezpośrednio przez elementy członkowskie.

Dotyczy

DefaultInterpolatedStringHandler(Int32, Int32, IFormatProvider)

Źródło:
DefaultInterpolatedStringHandler.cs
Źródło:
DefaultInterpolatedStringHandler.cs
Źródło:
DefaultInterpolatedStringHandler.cs
Źródło:
DefaultInterpolatedStringHandler.cs
Źródło:
DefaultInterpolatedStringHandler.cs

Tworzy procedurę obsługi używaną do tłumaczenia ciągu interpolowanego na Stringelement .

public:
 DefaultInterpolatedStringHandler(int literalLength, int formattedCount, IFormatProvider ^ provider);
public DefaultInterpolatedStringHandler(int literalLength, int formattedCount, IFormatProvider? provider);
new System.Runtime.CompilerServices.DefaultInterpolatedStringHandler : int * int * IFormatProvider -> System.Runtime.CompilerServices.DefaultInterpolatedStringHandler
Public Sub New (literalLength As Integer, formattedCount As Integer, provider As IFormatProvider)

Parametry

literalLength
Int32

Liczba znaków stałych poza wyrażeniami interpolacji w ciągu interpolowanym.

formattedCount
Int32

Liczba wyrażeń interpolacji w ciągu interpolowanym.

provider
IFormatProvider

Obiekt, który dostarcza informacje o formatowaniu specyficznym dla kultury.

Uwagi

Ma to być wywoływane tylko przez kod wygenerowany przez kompilator. Argumenty nie są weryfikowane, ponieważ w przeciwnym razie mają być używane bezpośrednio przez elementy członkowskie.

Dotyczy

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

Źródło:
DefaultInterpolatedStringHandler.cs
Źródło:
DefaultInterpolatedStringHandler.cs
Źródło:
DefaultInterpolatedStringHandler.cs
Źródło:
DefaultInterpolatedStringHandler.cs
Źródło:
DefaultInterpolatedStringHandler.cs

Tworzy procedurę obsługi używaną do tłumaczenia ciągu interpolowanego na Stringelement .

public:
 DefaultInterpolatedStringHandler(int literalLength, int formattedCount, IFormatProvider ^ provider, Span<char> initialBuffer);
public DefaultInterpolatedStringHandler(int literalLength, int formattedCount, IFormatProvider? provider, Span<char> initialBuffer);
new System.Runtime.CompilerServices.DefaultInterpolatedStringHandler : int * int * IFormatProvider * Span<char> -> System.Runtime.CompilerServices.DefaultInterpolatedStringHandler
Public Sub New (literalLength As Integer, formattedCount As Integer, provider As IFormatProvider, initialBuffer As Span(Of Char))

Parametry

literalLength
Int32

Liczba znaków stałych poza wyrażeniami interpolacji w ciągu interpolowanym.

formattedCount
Int32

Liczba wyrażeń interpolacji w ciągu interpolowanym.

provider
IFormatProvider

Obiekt, który dostarcza informacje o formatowaniu specyficznym dla kultury.

initialBuffer
Span<Char>

Bufor tymczasowo przeniesiony do programu obsługi do użycia w ramach jego formatowania. Zawartość może zostać zastąpiona.

Uwagi

Ma to być wywoływane tylko przez kod wygenerowany przez kompilator. Argumenty nie są weryfikowane, ponieważ w przeciwnym razie mają być używane bezpośrednio przez elementy członkowskie.

Dotyczy