C# Class CK.Keyboard.KeyboardContext

Mostrar archivo Open project: Invenietis/ck-certified Class Usage Examples

Public Methods

Method 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

Method 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 method

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
return IKeyboardMode

ObtainMode() public method

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
return IKeyboardMode

ObtainMode() public method

public ObtainMode ( string modes ) : IKeyboardMode
modes string
return IKeyboardMode