Table of Contents

Class ValueRangeTable

Namespace
Ubiety.Stringprep.Core
Assembly
Ubiety.Stringprep.Core.dll

Value range table.

public class ValueRangeTable : IValueRangeTable
Inheritance
ValueRangeTable
Implements
Inherited Members

Constructors

ValueRangeTable(int[])

Initializes a new instance of the ValueRangeTable class.

public ValueRangeTable(int[] valueRanges)

Parameters

valueRanges int[]

Value range table.

Exceptions

ArgumentException

Thrown if not a valid table.

Methods

Build(params List<int>[])

Build range table.

public static IValueRangeTableBuilder Build(params List<int>[] baseTables)

Parameters

baseTables List<int>[]

Value tables.

Returns

IValueRangeTableBuilder

Value range table builder instance.

Contains(int)

Does the table contain the value.

public bool Contains(int value)

Parameters

value int

Value to look up.

Returns

bool

True if the value is in the table, otherwise false.

Create(params List<int>[])

Create a range table.

public static IValueRangeTable Create(params List<int>[] baseTables)

Parameters

baseTables List<int>[]

Value tables.

Returns

IValueRangeTable

Value range table.