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(); } }
public void AddZDimType(ZLDimInfo zdimType) { DimTypes.Add(zdimType); }
public bool ContainsZDescType(string zname) { return(ContainsZType(zname) || ZDescTypeListHelper.Contains(zname, DimTypes.ToArray()) ); }