Class ConsoleKeyExExtensions
Provides extension methods to the ConsoleKeyEx enumeration type.
Inheritance
System.Object
ConsoleKeyExExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Cosmos.System
Assembly: Cosmos.System2.dll
Syntax
public static class ConsoleKeyExExtensions
Methods
| Improve this Doc View SourceToConsoleKey(ConsoleKeyEx)
Converts the ConsoleKeyEx enumeration value to a standard .NET System.ConsoleKey value.
Declaration
public static ConsoleKey ToConsoleKey(this ConsoleKeyEx keyEx)
Parameters
Type | Name | Description |
---|---|---|
ConsoleKeyEx | keyEx | The key value to convert. |
Returns
Type | Description |
---|---|
System.ConsoleKey | The translated enumeration value.. |
Exceptions
Type | Condition |
---|---|
System.NotImplementedException | Thrown if the given enumeration value is unrecognized. |