[]
        
(Showing Draft Content)

C1.Win.RulesManager.ItemRange.-ctor

ItemRange Constructor

ItemRange()

Initializes a new instance of the ItemRange.

Declaration
public ItemRange()

ItemRange(ItemRange)

Initializes a new instance of the ItemRange.

Declaration
public ItemRange(ItemRange prototype)
Parameters
Type Name Description
ItemRange prototype

Prototype

ItemRange(int, int)

Initializes a new instance of the ItemRange.

Declaration
public ItemRange(int first, int last)
Parameters
Type Name Description
int first

Fist item index.

int last

Last item index.

ItemRange(string)

Initializes a new instance of the ItemRange.

Declaration
public ItemRange(string range)
Parameters
Type Name Description
string range

Range as a string.

Remarks

The string format should be: "{0}:{1}", where {0} is the FirstItem and {1} is the LastItem.

Examples

ItemRange range = new ItemRange("1:100");