C# Class CK.Keyboard.KeyboardContext

Afficher le fichier Open project: Invenietis/ck-certified Class Usage Examples

Méthodes publiques

Méthode Description
ObtainMode ( IKeyboardMode atomicModes, int count ) : IKeyboardMode

Obtains a mode from a list of atomic (already sorted) modes. Used by fall back generation.

ObtainMode ( List atomicModes ) : IKeyboardMode

Obtains a mode from a list of atomic (already sorted) modes. Used by the Add, Toggle, Remove, Intersect methods.

ObtainMode ( string modes ) : IKeyboardMode

Private Methods

Méthode Description
EnsureUnique ( string newName, string currentName, Predicate exists ) : string

Computes a unique name (suffixed with '(n)' where n is a number) given a function that check existence of proposed names. It relies on R.KeyboardAutoNumPattern and R.KeyboardAutoNumRegex resources to offer culture dependant naming.

SplitMultiMode ( string s, int &count ) : string[]

Method Details

ObtainMode() public méthode

Obtains a mode from a list of atomic (already sorted) modes. Used by fall back generation.
public ObtainMode ( IKeyboardMode atomicModes, int count ) : IKeyboardMode
atomicModes IKeyboardMode
count int
Résultat IKeyboardMode

ObtainMode() public méthode

Obtains a mode from a list of atomic (already sorted) modes. Used by the Add, Toggle, Remove, Intersect methods.
public ObtainMode ( List atomicModes ) : IKeyboardMode
atomicModes List
Résultat IKeyboardMode

ObtainMode() public méthode

public ObtainMode ( string modes ) : IKeyboardMode
modes string
Résultat IKeyboardMode