Gutenberg

Class ConsoleFormattingAnnotation

A base class for annotations which the ConsoleDocumentRenderer understands

Inheritance
Implements
Inherited Members
Declaration
public abstract record ConsoleFormattingAnnotation : IEquatable<ConsoleFormattingAnnotation>

Constructors

ConsoleFormattingAnnotation(ConsoleFormattingAnnotation)

A base class for annotations which the ConsoleDocumentRenderer understands

Declaration
protected ConsoleFormattingAnnotation(ConsoleFormattingAnnotation original)
Parameters
Type Name Description

ConsoleFormattingAnnotation

original

Properties

EqualityContract

A base class for annotations which the ConsoleDocumentRenderer understands

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description

Type

Methods

Equals(ConsoleFormattingAnnotation?)

A base class for annotations which the ConsoleDocumentRenderer understands

Declaration
public virtual bool Equals(ConsoleFormattingAnnotation? other)
Parameters
Type Name Description

ConsoleFormattingAnnotation

other

Returns
Type Description

bool

Equals(object?)

A base class for annotations which the ConsoleDocumentRenderer understands

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description

object

obj

Returns
Type Description

bool

Overrides
object.Equals(object)

GetHashCode()

A base class for annotations which the ConsoleDocumentRenderer understands

Declaration
public override int GetHashCode()
Returns
Type Description

int

Overrides
object.GetHashCode()

PrintMembers(StringBuilder)

A base class for annotations which the ConsoleDocumentRenderer understands

Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type Name Description

StringBuilder

builder

Returns
Type Description

bool

ToString()

A base class for annotations which the ConsoleDocumentRenderer understands

Declaration
public override string ToString()
Returns
Type Description

string

Overrides
object.ToString()

<Clone>$()

A base class for annotations which the ConsoleDocumentRenderer understands

Declaration
public abstract ConsoleFormattingAnnotation <Clone>$()
Returns
Type Description

ConsoleFormattingAnnotation

Operators

operator ==(ConsoleFormattingAnnotation?, ConsoleFormattingAnnotation?)

A base class for annotations which the ConsoleDocumentRenderer understands

Declaration
public static bool operator ==(ConsoleFormattingAnnotation? left, ConsoleFormattingAnnotation? right)
Parameters
Type Name Description

ConsoleFormattingAnnotation

left

ConsoleFormattingAnnotation

right

Returns
Type Description

bool

operator !=(ConsoleFormattingAnnotation?, ConsoleFormattingAnnotation?)

A base class for annotations which the ConsoleDocumentRenderer understands

Declaration
public static bool operator !=(ConsoleFormattingAnnotation? left, ConsoleFormattingAnnotation? right)
Parameters
Type Name Description

ConsoleFormattingAnnotation

left

ConsoleFormattingAnnotation

right

Returns
Type Description

bool

Implements

IEquatable<T>