Click or drag to resize

ControlExtensionsAdd Method

Add expr2 to Expression, use an AND operator if the Expression is alrady populated.

Namespace:  DHI.Mike1D.ControlModule
Assembly:  DHI.Mike1D.ControlModule (in DHI.Mike1D.ControlModule.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public static void Add(
	this LogicalCondition logicalCondition,
	IExpression<bool> expr2,
	ExpressionFactory exprFactory
)

Parameters

logicalCondition
Type: DHI.Mike1D.ControlModuleLogicalCondition

[Missing <param name="logicalCondition"/> documentation for "M:DHI.Mike1D.ControlModule.ControlExtensions.Add(DHI.Mike1D.ControlModule.LogicalCondition,DHI.Math.Expression.IExpression{System.Boolean},DHI.Math.Expression.ExpressionFactory)"]

expr2
Type: IExpressionBoolean

[Missing <param name="expr2"/> documentation for "M:DHI.Mike1D.ControlModule.ControlExtensions.Add(DHI.Mike1D.ControlModule.LogicalCondition,DHI.Math.Expression.IExpression{System.Boolean},DHI.Math.Expression.ExpressionFactory)"]

exprFactory
Type: ExpressionFactory

[Missing <param name="exprFactory"/> documentation for "M:DHI.Mike1D.ControlModule.ControlExtensions.Add(DHI.Mike1D.ControlModule.LogicalCondition,DHI.Math.Expression.IExpression{System.Boolean},DHI.Math.Expression.ExpressionFactory)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type LogicalCondition. 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