ModuleHDExtensionsAddToOffers Method |
Add to "offers", i.e. quantities that can be outputted to result file and
requested through the result proxy system
Namespace:
DHI.Mike1D.Engine.ModuleHD
Assembly:
DHI.Mike1D.Engine (in DHI.Mike1D.Engine.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax public static void AddToOffers(
this IHDNode node,
IQuantity quantity,
Func<double> getter
)
<ExtensionAttribute>
Public Shared Sub AddToOffers (
node As IHDNode,
quantity As IQuantity,
getter As Func(Of Double)
)
public:
[ExtensionAttribute]
static void AddToOffers(
IHDNode^ node,
IQuantity^ quantity,
Func<double>^ getter
)
Parameters
- node
- Type: DHI.Mike1D.Engine.ModuleHDIHDNode
Node to add to. - quantity
- Type: DHI.Mike1D.GenericIQuantity
Quantity of value to add - getter
- Type: SystemFuncDouble
Getter that returns the value
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IHDNode. 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