Click or drag to resize

IPeriods Interface

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

Namespace:  DHI.Mike1D.ResultDataAccess
Assembly:  DHI.Mike1D.ResultDataAccess (in DHI.Mike1D.ResultDataAccess.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public interface IPeriods : IEnumerable<IPeriod>, 
	IEnumerable

The IPeriods type exposes the following members.

Properties
  NameDescription
Public propertyCount
The number of IPeriod's in the list
Public propertyItem
Get or set the IPeriod at the specified index in the list
Top
Methods
  NameDescription
Public methodAdd
Add a IPeriod to the list
Public methodClear
Removes all elements from the List.
Public methodContains
Decides whether a time is contained in the period
Public methodFind
Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire List.
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from IEnumerableIPeriod.)
Public methodIndexOf
Searches for the specified object and returns the zero-based index of the first occurrence within the entire List.
Public methodRemove
Removes the first occurrence of a specific object from the List.
Public methodRemoveAt
Removes the element at the specified index of the List.
Public methodToArray
Copies all elements of the list to an array.
Top
Extension Methods
  NameDescription
Public Extension MethodInclude
Checks whether the datetime parameter is included in at least one of the periods.
(Defined by Res1DExtensions.)
Top
See Also