Пример #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;
 }
Пример #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);
        }
Пример #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);
     }
 }
Пример #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;
     }
 }