Exemplo n.º 1
0
 public List<Opcode> GetLockFunction(int expressionHash)
 {
     if (functions.ContainsKey(expressionHash))
     {
         return functions[expressionHash].Code;
     }
     var newLockFunction = new LockFunction();
     functions.Add(expressionHash, newLockFunction);
     newFunctions.Add(newLockFunction);
     return newLockFunction.Code;
 }
Exemplo n.º 2
0
        public List <Opcode> GetLockFunction(int expressionHash)
        {
            if (functions.ContainsKey(expressionHash))
            {
                return(functions[expressionHash].Code);
            }
            var newLockFunction = new LockFunction();

            functions.Add(expressionHash, newLockFunction);
            newFunctions.Add(newLockFunction);
            return(newLockFunction.Code);
        }
Exemplo n.º 3
0
 public List <Opcode> GetLockFunction(int expressionHash)
 {
     if (_functions.ContainsKey(expressionHash))
     {
         return(_functions[expressionHash].Code);
     }
     else
     {
         LockFunction newLockFunction = new LockFunction();
         _functions.Add(expressionHash, newLockFunction);
         _newFunctions.Add(newLockFunction);
         return(newLockFunction.Code);
     }
 }
Exemplo n.º 4
0
 public List<Opcode> GetLockFunction(int expressionHash)
 {
     if (_functions.ContainsKey(expressionHash))
     {
         return _functions[expressionHash].Code;
     }
     else
     {
         LockFunction newLockFunction = new LockFunction();
         _functions.Add(expressionHash, newLockFunction);
         _newFunctions.Add(newLockFunction);
         return newLockFunction.Code;
     }
 }