Class ConsoleFormattingAnnotation.BackgroundColor
Set the BackgroundColor
Inheritance
- Object
- ConsoleFormattingAnnotation
- ConsoleFormattingAnnotation.BackgroundColor
Implements
Declaration
public class BackgroundColor : ConsoleFormattingAnnotation
Constructors
BackgroundColor(ConsoleFormattingAnnotation.BackgroundColor)
Declaration
protected BackgroundColor(ConsoleFormattingAnnotation.BackgroundColor original)
Parameters
| Type | Name | Description |
|---|---|---|
original |
BackgroundColor(ConsoleColor)
Set the BackgroundColor
Declaration
public BackgroundColor(ConsoleColor Color)
Parameters
| Type | Name | Description |
|---|---|---|
Color |
The colour |
Properties
Color
The colour
Declaration
public ConsoleColor Color { get; set; }
Property Value
| Type | Description |
|---|---|
EqualityContract
Declaration
protected override Type EqualityContract { get; }
Property Value
| Type | Description |
|---|---|
Overrides
Methods
<Clone>$()
Declaration
public override ConsoleFormattingAnnotation.BackgroundColor <Clone>$()
Returns
| Type | Description |
|---|---|
Overrides
Deconstruct(out ConsoleColor)
Declaration
public void Deconstruct(out ConsoleColor Color)
Parameters
| Type | Name | Description |
|---|---|---|
Color |
Equals(ConsoleFormattingAnnotation)
Declaration
public sealed override bool Equals(ConsoleFormattingAnnotation other)
Parameters
| Type | Name | Description |
|---|---|---|
other |
Returns
| Type | Description |
|---|---|
Overrides
Equals(ConsoleFormattingAnnotation.BackgroundColor)
Declaration
public virtual bool Equals(ConsoleFormattingAnnotation.BackgroundColor 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 |
|---|---|
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
Overrides
PrintMembers(StringBuilder)
Declaration
protected override bool PrintMembers(StringBuilder builder)
Parameters
| Type | Name | Description |
|---|---|---|
builder |
Returns
| Type | Description |
|---|---|
Overrides
ToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
Overrides
Operators
Equality(ConsoleFormattingAnnotation.BackgroundColor, ConsoleFormattingAnnotation.BackgroundColor)
Declaration
public static bool operator ==(ConsoleFormattingAnnotation.BackgroundColor left, ConsoleFormattingAnnotation.BackgroundColor right)
Parameters
| Type | Name | Description |
|---|---|---|
left |
||
right |
Returns
| Type | Description |
|---|---|
Inequality(ConsoleFormattingAnnotation.BackgroundColor, ConsoleFormattingAnnotation.BackgroundColor)
Declaration
public static bool operator !=(ConsoleFormattingAnnotation.BackgroundColor left, ConsoleFormattingAnnotation.BackgroundColor right)
Parameters
| Type | Name | Description |
|---|---|---|
left |
||
right |
Returns
| Type | Description |
|---|---|