Show / Hide Table of Contents

Struct AsciiKey.ShiftedCharacterMapping

A link between two characters, one unshifted and the other shifted.

Implements
IEquatable<AsciiKey.ShiftedCharacterMapping>
Inherited Members
object.GetType()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: SadConsole.Input
Assembly: SadConsole.dll
Syntax
public readonly struct AsciiKey.ShiftedCharacterMapping : IEquatable<AsciiKey.ShiftedCharacterMapping>

Constructors

ShiftedCharacterMapping(char, char)

A link between two characters, one unshifted and the other shifted.

Declaration
public ShiftedCharacterMapping(char Unshifted, char Shifted)
Parameters
Type Name Description
char Unshifted

The character when unshifted.

char Shifted

The character when shifted.

Properties

Shifted

The character when shifted.

Declaration
public char Shifted { get; init; }
Property Value
Type Description
char

Unshifted

The character when unshifted.

Declaration
public char Unshifted { get; init; }
Property Value
Type Description
char

Methods

Deconstruct(out char, out char)

Declaration
public void Deconstruct(out char Unshifted, out char Shifted)
Parameters
Type Name Description
char Unshifted
char Shifted

Equals(ShiftedCharacterMapping)

Declaration
public bool Equals(AsciiKey.ShiftedCharacterMapping other)
Parameters
Type Name Description
AsciiKey.ShiftedCharacterMapping other
Returns
Type Description
bool

Equals(object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
ValueType.Equals(object)

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
ValueType.GetHashCode()

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
ValueType.ToString()

Operators

operator ==(ShiftedCharacterMapping, ShiftedCharacterMapping)

Declaration
public static bool operator ==(AsciiKey.ShiftedCharacterMapping left, AsciiKey.ShiftedCharacterMapping right)
Parameters
Type Name Description
AsciiKey.ShiftedCharacterMapping left
AsciiKey.ShiftedCharacterMapping right
Returns
Type Description
bool

operator !=(ShiftedCharacterMapping, ShiftedCharacterMapping)

Declaration
public static bool operator !=(AsciiKey.ShiftedCharacterMapping left, AsciiKey.ShiftedCharacterMapping right)
Parameters
Type Name Description
AsciiKey.ShiftedCharacterMapping left
AsciiKey.ShiftedCharacterMapping right
Returns
Type Description
bool

Implements

IEquatable<T>
In this article

Back to top

Back to top Generated by DocFX