Class CodeList
A list of defined codes.
Inherited Members
Namespace: Sepia.Globalization
Assembly: Sepia.Globalization.dll
Syntax
public class CodeList
Remarks
Each code can be a token or a StringRange.
Constructors
| Improve this Doc View SourceCodeList(String)
Creates a new instance of the CodeList class with the text.
Declaration
public CodeList(string codes)
Parameters
| Type | Name | Description |
|---|---|---|
| String | codes | White space separated list of codes. |
Properties
| Improve this Doc View SourceSeparator
The separator for a StringRange.
Declaration
public char Separator { get; set; }
Property Value
| Type | Description |
|---|---|
| Char | Defaults to '~'. |
Methods
| Improve this Doc View SourceContains(String)
Determines if the code is defined.
Declaration
public bool Contains(string code)
Parameters
| Type | Name | Description |
|---|---|---|
| String | code | The code to check. |
Returns
| Type | Description |
|---|---|
| Boolean | true if the |