Пример #1
0
        // Public Methods (2) 

        public void add(Type t)
        {
            m_types[t.InternalName] = t;
            m_dtypes[t.DisplayName] = t;
        }
Пример #2
0
 static TypeManager()
 {
     m_nullType = new Type("(UnknownType)");
     m_nullType.DisplayName = "";
     m_nullType.HideDeclare = true;
 }
Пример #3
0
 public TypeManager(TypeManager parent)
 {
     m_types = new Dictionary<string, Type>();
     m_nullType = m_parent.NullType;
     m_parent = parent;
 }
Пример #4
0
 public void addClass(Type cls) {
     if (!InnerClasses.ContainsKey(cls.DisplayName)) {
         InnerClasses.Add(cls.DisplayName, cls);
     }
 }