[]
Returns a range which contains the current range, minus
value
.
public Range<T> Complement(Range<T> value)
Type | Name | Description |
---|---|---|
Range<T> | value | The value to complement the range by. |
Type | Description |
---|---|
Range<T> | The complemented range. |
Type | Condition |
---|---|
ArgumentNullException | is null.
|
ArgumentException | is contained by this range, complementing would lead to a split range.
|