Пример #1
0
 public void AddZDescType(IZDescType descType)
 {
     if (descType is ZDimType)
     {
         DimTypes.Add(descType as ZDimType);
     }
     else if (descType is ZEnumType)
     {
         ZEnumType zenum = descType as ZEnumType;
         EnumTypes.Add(zenum);
         //WordDictionary wordDictionary = zenum.WordTable;
         //WordDictionaryList.Add(wordDictionary);
     }
     else if (descType is ZClassType)
     {
         ZClassType zclass = descType as ZClassType;
         ClassTypes.Add(zclass);
         //WordDictionary wordDictionary = zclass.WordTable;
         //WordDictionaryList.Add(wordDictionary);
     }
     else
     {
         throw new ZyyRTException();
     }
 }
Пример #2
0
 public void AddZDimType(ZLDimInfo zdimType)
 {
     DimTypes.Add(zdimType);
 }
Пример #3
0
 public bool ContainsZDescType(string zname)
 {
     return(ContainsZType(zname) ||
            ZDescTypeListHelper.Contains(zname, DimTypes.ToArray())
            );
 }