Class BinaryOperatorHandler
Inheritance
BinaryOperatorHandler
Syntax
public abstract class BinaryOperatorHandler : OperatorHandler
Constructors
BinaryOperatorHandler(String, String, String, String)
Declaration
protected BinaryOperatorHandler(string name, string verb, string symbol, string customMethodName)
Parameters
Methods
BothNullHandling()
Declaration
protected virtual object BothNullHandling()
Returns
CustomHandling(Object, Object)
Declaration
protected virtual object CustomHandling(object leftOperand, object rightOperand)
Parameters
Type |
Name |
Description |
Object |
leftOperand |
|
Object |
rightOperand |
|
Returns
Handle<TLeft, TRight>(Func<TLeft, TRight, Object>, Boolean)
Declaration
protected void Handle<TLeft, TRight>(Func<TLeft, TRight, object> handler, bool reverse = false)
Parameters
Type Parameters
Name |
Description |
TLeft |
|
TRight |
|
Operate(Object, Object)
Declaration
public virtual object Operate(object leftOperand, object rightOperand)
Parameters
Type |
Name |
Description |
Object |
leftOperand |
|
Object |
rightOperand |
|
Returns
SingleNullHandling()
Declaration
protected virtual object SingleNullHandling()
Returns
Extension Methods