ModelStateExtensionsTryReadDouble Method |
Read a parameter from state, and if there, apply it.
Namespace:
DHI.Mike1D.ModelState
Assembly:
DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax public static void TryReadDouble(
this ModelStateReader reader,
string parameterName,
Action<double> action
)
<ExtensionAttribute>
Public Shared Sub TryReadDouble (
reader As ModelStateReader,
parameterName As String,
action As Action(Of Double)
)
public:
[ExtensionAttribute]
static void TryReadDouble(
ModelStateReader^ reader,
String^ parameterName,
Action<double>^ action
)
Parameters
- reader
- Type: DHI.Mike1D.ModelStateModelStateReader
[Missing <param name="reader"/> documentation for "M:DHI.Mike1D.ModelState.ModelStateExtensions.TryReadDouble(DHI.Mike1D.ModelState.ModelStateReader,System.String,System.Action{System.Double})"]
- parameterName
- Type: SystemString
[Missing <param name="parameterName"/> documentation for "M:DHI.Mike1D.ModelState.ModelStateExtensions.TryReadDouble(DHI.Mike1D.ModelState.ModelStateReader,System.String,System.Action{System.Double})"]
- action
- Type: SystemActionDouble
[Missing <param name="action"/> documentation for "M:DHI.Mike1D.ModelState.ModelStateExtensions.TryReadDouble(DHI.Mike1D.ModelState.ModelStateReader,System.String,System.Action{System.Double})"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ModelStateReader. 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