Esempio n. 1
0
        public static DynamicMetaObjectBinder BinaryOperationBinder(TotemContext state, TotemOperationKind operatorName)
        {
            ExpressionType? et = GetExpressionTypeFromBinaryOperator(operatorName);

            if (et == null)
            {
                return state.Operation(
                    operatorName
                );
            }

            return state.BinaryOperation(et.Value);
        }
Esempio n. 2
0
 public static DynamicMetaObjectBinder BinaryOperationBinder(TotemContext state, ExpressionType operatorName)
 {
     return state.BinaryOperation(operatorName);
 }