Пример #1
0
 public void Update(modocc element)
 {
     if (element.m_title != null)
     {
         this.title = element.title;
     }
     this.occlist = element.occlist;
 }
Пример #2
0
        public static modocc Parse(System.Xml.Linq.XElement xml, CRocrailClient rocrailClient)
        {
            modocc _modocc = new modocc();

            _modocc.m_rocrailClient = rocrailClient;
            _modocc.m_title         = (string)xml.Attribute("title");
            Definitions.Tools.ParseList <occ>(_modocc.m_occlist, xml, "occ", occ.Parse, rocrailClient);
            return(_modocc);
        }