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