BoundaryExtensionsGetAccumulatedValueNoItemOverlap(IListIBoundaryItem, DateTime, DateTime, TimeSpan) Method

Get boundary value accumulated over the specified period, looping over all the items and taking their application interval into account, only allowing for one value at a time, i.e. not summing up if two items are applicable at the same time.

Accumulation time is computed, indicating periods where values are undefined.

If no item is applicable, a zero value is assumed.

Definition

Namespace: DHI.Mike1D.BoundaryModule
Assembly: DHI.Mike1D.BoundaryModule (in DHI.Mike1D.BoundaryModule.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public static double GetAccumulatedValueNoItemOverlap(
	this IList<IBoundaryItem> items,
	DateTime start,
	DateTime end,
	out TimeSpan accumulationTime
)

Parameters

items  IListIBoundaryItem

[Missing <param name="items"/> documentation for "M:DHI.Mike1D.BoundaryModule.BoundaryExtensions.GetAccumulatedValueNoItemOverlap(System.Collections.Generic.IList{DHI.Mike1D.BoundaryModule.IBoundaryItem},System.DateTime,System.DateTime,System.TimeSpan@)"]

start  DateTime

[Missing <param name="start"/> documentation for "M:DHI.Mike1D.BoundaryModule.BoundaryExtensions.GetAccumulatedValueNoItemOverlap(System.Collections.Generic.IList{DHI.Mike1D.BoundaryModule.IBoundaryItem},System.DateTime,System.DateTime,System.TimeSpan@)"]

end  DateTime

[Missing <param name="end"/> documentation for "M:DHI.Mike1D.BoundaryModule.BoundaryExtensions.GetAccumulatedValueNoItemOverlap(System.Collections.Generic.IList{DHI.Mike1D.BoundaryModule.IBoundaryItem},System.DateTime,System.DateTime,System.TimeSpan@)"]

accumulationTime  TimeSpan

[Missing <param name="accumulationTime"/> documentation for "M:DHI.Mike1D.BoundaryModule.BoundaryExtensions.GetAccumulatedValueNoItemOverlap(System.Collections.Generic.IList{DHI.Mike1D.BoundaryModule.IBoundaryItem},System.DateTime,System.DateTime,System.TimeSpan@)"]

Return Value

Double

[Missing <returns> documentation for "M:DHI.Mike1D.BoundaryModule.BoundaryExtensions.GetAccumulatedValueNoItemOverlap(System.Collections.Generic.IList{DHI.Mike1D.BoundaryModule.IBoundaryItem},System.DateTime,System.DateTime,System.TimeSpan@)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IListIBoundaryItem. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also