Class AdvancedRanges
Represents a complex range (non continuous, with an offset...) of instances to execute.
Inherited Members
Namespace: QarnotSDK
Assembly: QarnotSDK.dll
Syntax
public class AdvancedRanges : IEnumerable<uint>, IEnumerable
Constructors
AdvancedRanges(string)
Construct a new AdvanedRange object.
Declaration
public AdvancedRanges(string ranges)
Parameters
Type | Name | Description |
---|---|---|
string | ranges | A string in the advanced range format: "1,5-10,15" |
Properties
Count
Returns the number of instance ids in this range.
Declaration
public virtual uint Count { get; }
Property Value
Type | Description |
---|---|
uint |
Empty
True if this range is empty.
Declaration
public virtual bool Empty { get; }
Property Value
Type | Description |
---|---|
bool |
Methods
ToString()
Outputs this range in the advanced range format.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |