Exemple #1
0
 public SymplUnaryOperationBinder GetUnaryOperationBinder
     (ExpressionType op)
 {
     lock (_unaryOperationBinders) {
         if (_unaryOperationBinders.ContainsKey(op))
         {
             return(_unaryOperationBinders[op]);
         }
         var b = new SymplUnaryOperationBinder(op);
         _unaryOperationBinders[op] = b;
         return(b);
     }
 }
Exemple #2
0
 public SymplUnaryOperationBinder GetUnaryOperationBinder
         (ExpressionType op) {
     lock (_unaryOperationBinders) {
         if (_unaryOperationBinders.ContainsKey(op))
             return _unaryOperationBinders[op];
         var b = new SymplUnaryOperationBinder(op);
         _unaryOperationBinders[op] = b;
         return b;
     }
 }