Gutenberg

Class ConsoleFormattingAnnotation.BackgroundColor

Set the BackgroundColor

Inheritance
Implements
Declaration
public class BackgroundColor : ConsoleFormattingAnnotation

Constructors

BackgroundColor(ConsoleFormattingAnnotation.BackgroundColor)

Declaration
protected BackgroundColor(ConsoleFormattingAnnotation.BackgroundColor original)
Parameters
Type Name Description

ConsoleFormattingAnnotation.BackgroundColor

original

BackgroundColor(ConsoleColor)

Set the BackgroundColor

Declaration
public BackgroundColor(ConsoleColor Color)
Parameters
Type Name Description

ConsoleColor

Color

The colour

Properties

Color

The colour

Declaration
public ConsoleColor Color { get; set; }
Property Value
Type Description

ConsoleColor

EqualityContract

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

Type

Overrides
ConsoleFormattingAnnotation.EqualityContract

Methods

<Clone>$()

Declaration
public override ConsoleFormattingAnnotation.BackgroundColor <Clone>$()
Returns
Type Description

ConsoleFormattingAnnotation.BackgroundColor

Overrides
ConsoleFormattingAnnotation.<Clone>$()

Deconstruct(out ConsoleColor)

Declaration
public void Deconstruct(out ConsoleColor Color)
Parameters
Type Name Description

ConsoleColor

Color

Equals(ConsoleFormattingAnnotation)

Declaration
public sealed override bool Equals(ConsoleFormattingAnnotation other)
Parameters
Type Name Description

ConsoleFormattingAnnotation

other

Returns
Type Description

Boolean

Overrides
ConsoleFormattingAnnotation.Equals(ConsoleFormattingAnnotation)

Equals(ConsoleFormattingAnnotation.BackgroundColor)

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

ConsoleFormattingAnnotation.BackgroundColor

other

Returns
Type Description

Boolean

Equals(Object)

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

Object

obj

Returns
Type Description

Boolean

Overrides
ConsoleFormattingAnnotation.Equals(Object)

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description

Int32

Overrides
ConsoleFormattingAnnotation.GetHashCode()

PrintMembers(StringBuilder)

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

StringBuilder

builder

Returns
Type Description

Boolean

Overrides
ConsoleFormattingAnnotation.PrintMembers(StringBuilder)

ToString()

Declaration
public override string ToString()
Returns
Type Description

String

Overrides
ConsoleFormattingAnnotation.ToString()

Operators

Equality(ConsoleFormattingAnnotation.BackgroundColor, ConsoleFormattingAnnotation.BackgroundColor)

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

ConsoleFormattingAnnotation.BackgroundColor

left

ConsoleFormattingAnnotation.BackgroundColor

right

Returns
Type Description

Boolean

Inequality(ConsoleFormattingAnnotation.BackgroundColor, ConsoleFormattingAnnotation.BackgroundColor)

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

ConsoleFormattingAnnotation.BackgroundColor

left

ConsoleFormattingAnnotation.BackgroundColor

right

Returns
Type Description

Boolean

Implements

System.IEquatable<T>
System.IEquatable<T>