Click or drag to resize

ResultDataDoStoreDelegate Delegate

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

Namespace:  DHI.Mike1D.ResultDataAccess
Assembly:  DHI.Mike1D.ResultDataAccess (in DHI.Mike1D.ResultDataAccess.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public delegate bool DoStoreDelegate(
	DateTime time,
	out DateTime updateTime,
	out int updateIndex,
	out bool doFlush
)

Parameters

time
Type: SystemDateTime
Simulation time
updateTime
Type: SystemDateTime
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
Type: SystemInt32
Index into result data time list where data should be stored.
doFlush
Type: SystemBoolean
Flag indicating if flushing (writing to file) should be performed.

Return Value

Type: Boolean
True if data should be stored to the result data object.
See Also