Skip to content

0a1638eb 025e 2916 9bf8 93b714f64e35

Axel Kesseler edited this page Mar 1, 2023 · 15 revisions

Coloring Constructor (ConsoleColor, ConsoleColor)

The parameterized constructor initializes the properties with provided values.

Namespace: Plexdata.LogWriter.Definitions
Assembly: Plexdata.LogWriter.Console (in Plexdata.LogWriter.Console.dll) Version: 1.0.7.1

Syntax

C#

public Coloring(
	ConsoleColor foreground,
	ConsoleColor background
)

Parameters

 

foreground
Type: System.ConsoleColor
The color used as foreground color.
background
Type: System.ConsoleColor
The color used as background color.

Exceptions

 

Exception Condition
InvalidEnumArgumentException This exception is thrown as soon as provided foreground or provided background is not defined in enumeration ConsoleColor.

Remarks

Task of this constructor is to initialize the properties with provided parameter values.

See Also

Reference

Coloring Class
Coloring Overload
Plexdata.LogWriter.Definitions Namespace

Clone this wiki locally