Click or drag to resize

InputData(IEnumerableInputPeriod) Constructor

Constructs an InputData object containing the specified InputPeriod objects.

Namespace: DegreeDays.Api.Regressions
Assembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax
public InputData(
	IEnumerable<InputPeriod> inputPeriods
)

Parameters

inputPeriods  IEnumerableInputPeriod
The IEnumerable of InputPeriod objects that you want this InputData to contain. Cannot contain any null values, and must satisfy the requirements specified in these remarks.
Exceptions
ExceptionCondition
ArgumentNullExceptioninputPeriods is null, or if it contains a null value.
ArgumentExceptioninputPeriods does not satisfy the requirements specified in these remarks.
Remarks

Although the immutable InputPeriod objects from inputPeriods will be stored inside this InputData object, the IEnumerable itself will neither be stored nor modified. So you can continue using inputPeriods without concern for side effects.

See Also