Skip to content

0f6628a4 5de1 c119 285d 6c1717c94c29

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

Coloring Class

This class represents the assignment of foreground and background colors.

Inheritance Hierarchy

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

Syntax

C#

public class Coloring

The Coloring type exposes the following members.

Constructors

 

Name Description
Public method Coloring() The default constructor initializes all properties with its default values.
Public method Coloring(ConsoleColor, ConsoleColor) The parameterized constructor initializes the properties with provided values.
  Back to Top

Properties

 

Name Description
Public property Background Gets the assigned background color.
Public property Foreground Gets the assigned foreground color.
  Back to Top

Methods

 

Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Overrides Object.ToString().)
  Back to Top

Fields

 

Name Description
Public fieldStatic member DefaultBackground The default background color to be used.
Public fieldStatic member DefaultForeground The default foreground color to be used.
  Back to Top

Remarks

The coloring assignments are used to configure a combination of foreground and background color to be used together with a particular message type.

See Also

Reference

Plexdata.LogWriter.Definitions Namespace

Clone this wiki locally