Click or drag to resize

RangeT(IEnumerableT) Constructor

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

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

Parameters

list  IEnumerableT
The list of DateTime values to use.
Exceptions
ExceptionCondition
ArgumentNullExceptionlist is null
ArgumentExceptionlist does not contain any items
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.
See Also