ResultDataDoStoreDelegate Delegate

Delegate type used to override the build in functionality of when to store results in the result data object.

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 delegate bool DoStoreDelegate(
	DateTime time,
	out DateTime updateTime,
	out int updateIndex,
	out bool doFlush
)

Parameters

time  DateTime
Simulation time
updateTime  DateTime
Time where data should be extracted. Default is the simulation time. For HD simulations, the engine can interpolate between the previous and current time step, so any time in between the previous time and the current simulation time is valid
updateIndex  Int32
Index into result data time list where data should be stored.
doFlush  Boolean
Flag indicating if flushing (writing to file) should be performed.

Return Value

Boolean
True if data should be stored to the result data object.

See Also