Edit

Share via


Guard.IsTrueInterpolatedStringHandler Struct

Definition

Provides an interpolated string handler for IsTrue(Boolean, String, Guard+IsTrueInterpolatedStringHandler) that only performs formatting if the assert fails.

public struct Guard.IsTrueInterpolatedStringHandler
type Guard.IsTrueInterpolatedStringHandler = struct
Public Structure Guard.IsTrueInterpolatedStringHandler
Inheritance
Guard.IsTrueInterpolatedStringHandler

Constructors

Guard.IsTrueInterpolatedStringHandler(Int32, Int32, Boolean, Boolean)

Creates an instance of the handler.

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.

Applies to