Class ConsoleColorChanger
Help working with console color
Inheritance
System.Object
ConsoleColorChanger
Implements
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: CXUI.Helper
Assembly: cxui.dll
Syntax
public class ConsoleColorChanger : IDisposable
Constructors
| Improve this Doc View SourceConsoleColorChanger(ConsoleColor)
Create color changer and set color
Declaration
public ConsoleColorChanger(ConsoleColor newColor)
Parameters
Type | Name | Description |
---|---|---|
System.ConsoleColor | newColor |
Methods
| Improve this Doc View SourceDispose()
Reset color
Declaration
public void Dispose()
Implements
System.IDisposable