[]
Splits the range into two.
public IEnumerable<Range<T>> Split(T position)
Type | Name | Description |
---|---|---|
T | position | The position to split the range at. |
Type | Description |
---|---|
IEnumerable<Range<T>> | The split ranges. |
Type | Condition |
---|---|
ArgumentNullException | is null.
|
ArgumentException | is not contained within the range.
|