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
)
Public Delegate Function DoStoreDelegate (
time As DateTime,
<OutAttribute> ByRef updateTime As DateTime,
<OutAttribute> ByRef updateIndex As Integer,
<OutAttribute> ByRef doFlush As Boolean
) As Boolean
public delegate bool DoStoreDelegate(
DateTime time,
[OutAttribute] DateTime% updateTime,
[OutAttribute] int% updateIndex,
[OutAttribute] 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:
BooleanTrue if data should be stored to the result data object.
See Also