コード例 #1
0
 public cls_YACRSResponse(cls_YACRSResponse_part parent)
 {
     __parent = parent;
     if (__parent == null)
     {
         __owner = this;
     }
     else
     {
         __owner = __parent.getOwner();
     }
     messageName = null;
     m_error     = new List <string>();
     m_data      = new cls_data(this);
 }
コード例 #2
0
        public override cls_YACRSResponse_part startElement(int elementid, Dictionary <string, string> atts, string nsuri, string elementname)
        {
            switch (elementid)
            {
            case YACRSResponse_parser.ID_error:
                m_error.Add("");
                return(this);

            //break;
            case YACRSResponse_parser.ID_data:
                m_data = new cls_data(this);
                m_data.parseAttributes(atts);
                return(m_data);
                //break;
            }
            return(this);
        }