Пример #1
0
 public Var GetAttr(Var key)
 {
     if (keyIndexMap.ContainsKey(key))
     {
         return(this[keyIndexMap[key]]);
     }
     return(null);
 }
Пример #2
0
 public bool TryGetRegisterType(string typename, out Type type)
 {
     if (!_biMap.ContainsKey(typename))
     {
         type = null;
         return(false);
     }
     type = GetRegisterType(typename);
     return(true);
 }