[]
        
(Showing Draft Content)

C1.WPF.Core.Range-1.Split

Split Method

Split(T)

Splits the range into two.

Declaration
public IEnumerable<Range<T>> Split(T position)
Parameters
Type Name Description
T position

The position to split the range at.

Returns
Type Description
IEnumerable<Range<T>>

The split ranges.

Exceptions
Type Condition
ArgumentNullException
position
is null.
ArgumentException
position
is not contained within the range.