IPeriods Interface

Interface for a list of IPeriod's Required for generic list COM interop

Definition

Namespace: DHI.Mike1D.ResultDataAccess
Assembly: DHI.Mike1D.ResultDataAccess (in DHI.Mike1D.ResultDataAccess.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public interface IPeriods : IEnumerable<IPeriod>, 
	IEnumerable
Implements
IEnumerableIPeriod, IEnumerable

Properties

Count The number of IPeriod's in the list
Item Get or set the IPeriod at the specified index in the list

Methods

Add Add a IPeriod to the list
Clear Removes all elements from the List.
Contains Decides whether a time is contained in the period
Find Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire List.
GetEnumeratorReturns an enumerator that iterates through the collection.
(Inherited from IEnumerableIPeriod)
IndexOf Searches for the specified object and returns the zero-based index of the first occurrence within the entire List.
Remove Removes the first occurrence of a specific object from the List.
RemoveAt Removes the element at the specified index of the List.
ToArray Copies all elements of the list to an array.

Extension Methods

Include Checks whether the datetime parameter is included in at least one of the periods.
(Defined by Res1DExtensions)

See Also