[]
        
(Showing Draft Content)

C1.WPF.Core.Range-1.Union

Union Method

Union(Range<T>)

Returns the range that represents the union of this range and

value
.
Declaration
public Range<T> Union(Range<T> value)
Parameters
Type Name Description
Range<T> value

The range to union with.

Returns
Type Description
Range<T>

A range that contains both ranges, or null if there is no union.

Exceptions
Type Condition
ArgumentNullException
value
is null.
ArgumentException
value
is not contiguous with the range.