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