C# Class Candor.LexicalCharacterSet

Defines a character set of which can be used to increment a string.
Show file Open project: michael-lang/candor-common Class Usage Examples

Public Methods

Method Description
FindNext ( char after, bool ignoreCase ) : char

Finds the next character in this set after a given character.

LexicalCharacterSet ( String name, Int32 caseInsensitiveLength, IEnumerable chars ) : System

Creates a new character set.

LexicalCharacterSet ( String name, Int32 caseInsensitiveLength, IList chars ) : System

Creates a new character set.

Method Details

FindNext() public method

Finds the next character in this set after a given character.
public FindNext ( char after, bool ignoreCase ) : char
after char
ignoreCase bool
return char

LexicalCharacterSet() public method

Creates a new character set.
public LexicalCharacterSet ( String name, Int32 caseInsensitiveLength, IEnumerable chars ) : System
name String
caseInsensitiveLength System.Int32
chars IEnumerable
return System

LexicalCharacterSet() public method

Creates a new character set.
public LexicalCharacterSet ( String name, Int32 caseInsensitiveLength, IList chars ) : System
name String
caseInsensitiveLength System.Int32
chars IList
return System