Beispiel #1
0
 public static void RegisterUnary(Type ret, Type operandType, char op, UnaryOperateFunc operation)
 {
     unary_operators.Add(new UnaryOperatorDef(ret, op, operandType), operation);
 }
Beispiel #2
0
 public static void RegisterUnary(Type ret, Operator op, Type operandType, UnaryOperateFunc operation)
 {
     unary_operators.Add(new UnaryOperatorDef(op, operandType), new OperationData <UnaryOperateFunc>(ret, operation, false));
 }