[]
        
(Showing Draft Content)

C1.WPF.Core.Range-1.Contains

Contains Method

Contains(T)

Indicates if the range contains

value
.
Declaration
public bool Contains(T value)
Parameters
Type Name Description
T value

The value to look for.

Returns
Type Description
bool

true if the range contains

value
, false otherwise.
Exceptions
Type Condition
ArgumentNullException
value
is null.

Contains(Range<T>)

Indicates if the range contains

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

A range to test.

Returns
Type Description
bool

true if the entire range in

value
is within this range.
Exceptions
Type Condition
ArgumentNullException
value
is null.