Click or drag to resize

ModuleHDExtensions.AddToOffers 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
)

Parameters

node
Type: DHI.Mike1D.Engine.ModuleHD.IHDNode
Node to add to.
quantity
Type: DHI.Mike1D.Generic.IQuantity
Quantity of value to add
getter
Type: System.Func<Double>
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