RangeT(IEnumerableT) Constructor

Creates a new instance of DateRange from a generic list of DateTime values.

Definition

Namespace: InnerDrive.Core
Assembly: InnerDrive.Core (in InnerDrive.Core.dll) Version: 5.2.9017.0
C#
public Range(
	IEnumerable<T> list
)

Parameters

list  IEnumerableT
The list of DateTime values to use.

Remarks

The RangeT will use the minimum and maximum values of the enumerable list for its Lower and Upper members, respectively. IsUpperInclusive and IsLowerInclusive will be set to true.

Exceptions

ArgumentNullExceptionlist is null
ArgumentExceptionlist does not contain any items

See Also