Show / Hide Table of Contents

Class CodeList

A list of defined codes.

Inheritance
Object
CodeList
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
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 Source

CodeList(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 Source

Separator

The separator for a StringRange.

Declaration
public char Separator { get; set; }
Property Value
Type Description
Char

Defaults to '~'.

Methods

| Improve this Doc View Source

Contains(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 code is defined; otherwise, false.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX