Example #1
0
        protected void AnalyseProDefine(XmlElement e)
        {
            ProMeta pro = new ProMeta(this, GetNextProId());

            pro.LoadFromXml(e);

            if (GetProMetaByName(pro.Name) != null || GetProMetaByProID(pro.ProID) != null)
            {
                throw new exception.AnalysisException(String.Format("pro-region/pro-meta/pro node redefine name[{0}] or proid[{1}]", pro.Name, pro.ProID));
            }

            pros_.Add(pro);
        }
Example #2
0
 public ProMetaMember(ProMeta o)
 {
     this.owner_ = o;
 }
Example #3
0
 public LocalStruct(string name, ProMeta o)
 {
     this.name_  = name;
     this.owner_ = o;
 }