ModelStateExtensions Class
Extension for reading/writing state
Namespace: DHI.Mike1D.ModelStateAssembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
public static class ModelStateExtensions
- Inheritance
- Object ModelStateExtensions
| ReadBoolean(ModelStateReader, String) |
Read a parameter from state, return its value
|
| ReadBoolean(ModelStateReader, String, ActionBoolean) |
Read a parameter from state, and if there, apply it.
|
| ReadBooleans |
Read a parameter from state, return its value
|
| ReadDateTime(ModelStateReader, String) |
Read a parameter from state, return its value
|
| ReadDateTime(ModelStateReader, String, ActionDateTime) |
Read a parameter from state, and if there, apply it.
|
| ReadDateTimes |
Read a parameter from state, return its value
|
| ReadDouble(ModelStateReader, String) |
Read a parameter from state, return its value
|
| ReadDouble(ModelStateReader, String, ActionDouble) |
Read a parameter from state, and if there, apply it.
|
| ReadDoubles |
Read a parameter from state, return its value
|
| ReadInt(ModelStateReader, String) |
Read a parameter from state, return its value
|
| ReadInt(ModelStateReader, String, ActionInt32) |
Read a parameter from state, and if there, apply it.
|
| ReadRelativeTime |
For newer the version of state files the time associated with different
items is relative to the state time. This allows for consistent results
whether the StateTime is used as simulation start time or not.
If the file is older the times are in DateTime format still.
|
| ReadRelativeTimes |
For newer the version of state files the time buffers associated with different
items are relative to the state time. This allows for consistent results
whether the StateTime is used as simulation start time or not
If the file is older the time buffers are in DateTime format still.
|
| ReadString |
Read a parameter from state, return its value
|
| ReadTimeSpans |
Read a parameter from state, return its value
|
| TryReadDouble |
Read a parameter from state, and if there, apply it.
|
| Warning |
Warning while reading state
|