Struct AsciiKey.CharacterKeyMapping
Associates a character glyph and a Keys value.
Assembly: SadConsole.dll
public readonly struct AsciiKey.CharacterKeyMapping : IEquatable<AsciiKey.CharacterKeyMapping>
Constructors
Associates a character glyph and a Keys value.
Declaration
public CharacterKeyMapping(char CharacterGlyph, Keys Key)
Parameters
Type |
Name |
Description |
char |
CharacterGlyph |
The number pad character.
|
Keys |
Key |
The key the character maps to.
|
Properties
The number pad character.
Declaration
public char CharacterGlyph { get; init; }
Property Value
The key the character maps to.
Declaration
public Keys Key { get; init; }
Property Value
Methods
Declaration
public void Deconstruct(out char CharacterGlyph, out Keys Key)
Parameters
Type |
Name |
Description |
char |
CharacterGlyph |
|
Keys |
Key |
|
Declaration
public bool Equals(AsciiKey.CharacterKeyMapping other)
Parameters
Returns
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
Declaration
public override int GetHashCode()
Returns
Overrides
Declaration
public override string ToString()
Returns
Overrides
Operators
Declaration
public static bool operator ==(AsciiKey.CharacterKeyMapping left, AsciiKey.CharacterKeyMapping right)
Parameters
Returns
Declaration
public static bool operator !=(AsciiKey.CharacterKeyMapping left, AsciiKey.CharacterKeyMapping right)
Parameters
Returns
Implements