Class ConsoleFormattingAnnotation
A base class for annotations which the ConsoleDocumentRenderer understands
Inheritance
- Object
- ConsoleFormattingAnnotation
- ConsoleFormattingAnnotation.BackgroundColor
- ConsoleFormattingAnnotation.ForegroundColor
Implements
Declaration
public abstract class ConsoleFormattingAnnotation : Object
Constructors
ConsoleFormattingAnnotation(ConsoleFormattingAnnotation)
Declaration
protected ConsoleFormattingAnnotation(ConsoleFormattingAnnotation original)
Parameters
Type | Name | Description |
---|---|---|
original |
Properties
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type | Description |
---|---|
Methods
<Clone>$()
Declaration
public abstract ConsoleFormattingAnnotation <Clone>$()
Returns
Type | Description |
---|---|
Equals(ConsoleFormattingAnnotation)
Declaration
public virtual bool Equals(ConsoleFormattingAnnotation other)
Parameters
Type | Name | Description |
---|---|---|
other |
Returns
Type | Description |
---|---|
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
obj |
Returns
Type | Description |
---|---|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
builder |
Returns
Type | Description |
---|---|
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
Operators
Equality(ConsoleFormattingAnnotation, ConsoleFormattingAnnotation)
Declaration
public static bool operator ==(ConsoleFormattingAnnotation left, ConsoleFormattingAnnotation right)
Parameters
Type | Name | Description |
---|---|---|
left |
||
right |
Returns
Type | Description |
---|---|
Inequality(ConsoleFormattingAnnotation, ConsoleFormattingAnnotation)
Declaration
public static bool operator !=(ConsoleFormattingAnnotation left, ConsoleFormattingAnnotation right)
Parameters
Type | Name | Description |
---|---|---|
left |
||
right |
Returns
Type | Description |
---|---|