GH_IndexRanges

Represents a sorted, non-colliding collection of index ranges.

Properties

Count

#
Gets the number of ranges stored in this collection.
public int Count { get; }

Indexers

Range

#
Gets the range at the given index.
public GH_IndexRange this[
index
Index of range to retrieve.
] { get; }

Methods

InsertRange

#
Insert an index range into the collection.
public bool InsertRange(
range
Range to insert.
)
True if the collection was meaningfully modified.

Read

#
public bool Read(
reader
)
Read

RemoveRange

#
Remove an index range from the collection.
public bool RemoveRange(
range
Range to remove.
)
True if the collection was meaningfully modified.

ToString

#
public override string ToString()
Object.ToString

Write

#
public bool Write(
writer
)
Write