Language

MemoryExtensions.TryWriteInterpolatedStringHandler Struct

Definition

Provides a handler used by the language compiler to format interpolated strings into character spans.

public: value class MemoryExtensions::TryWriteInterpolatedStringHandler
public ref struct MemoryExtensions.TryWriteInterpolatedStringHandler
type MemoryExtensions.TryWriteInterpolatedStringHandler = struct
Public Structure MemoryExtensions.TryWriteInterpolatedStringHandler
Inheritance
MemoryExtensions.TryWriteInterpolatedStringHandler

Constructors

Name Description
MemoryExtensions.TryWriteInterpolatedStringHandler(Int32, Int32, Span, Boolean)

Creates a handler used to write an interpolated string into a span of characters.

MemoryExtensions.TryWriteInterpolatedStringHandler(Int32, Int32, Span, IFormatProvider, Boolean)

Creates a handler used to write an interpolated string into a span of characters.

Methods

Name Description
AppendFormatted(Object, Int32, String)

Writes the specified value to the handler.

AppendFormatted(ReadOnlySpan, Int32, String)

Writes the specified value to the handler.

AppendFormatted(ReadOnlySpan)

Writes the specified value to the handler.

AppendFormatted(String, Int32, String)

Writes a specified value to the handler using a specified format string.

AppendFormatted(String)

Writes the specified value to the handler.

AppendFormatted(T, Int32, String)

Writes a specified value to the handler using a specified format string.

AppendFormatted(T, Int32)

Writes the specified value to the handler.

AppendFormatted(T, String)

Writes a specified value to the handler using a specified format string.

AppendFormatted(T)

Writes the specified value to the handler.

AppendLiteral(String)

Writes the specified string to the handler.

Applies to