Beispiel #1
0
 public void LoadFromXml(XmlElement el, XmlNamespaceManager nsmgr)
 {
     string pr = nsmgr.LookupPrefix(XmlSchemaUtil.WORKFLOW_NAMESPACE);
     if (pr != null && pr.Length > 0) pr += ":";
     Name = el.GetAttribute("name");
     foreach (XmlElement mel in el.SelectNodes(pr + "member", nsmgr))
     {
         MemberDef md = new MemberDef();
         md.LoadFromXml(mel, nsmgr);
         Members.Add(md);
     }
 }
Beispiel #2
0
        public void LoadFromXml(XmlElement el, XmlNamespaceManager nsmgr)
        {
            string pr = nsmgr.LookupPrefix(XmlSchemaUtil.WORKFLOW_NAMESPACE);

            if (pr != null && pr.Length > 0)
            {
                pr += ":";
            }
            Name = el.GetAttribute("name");
            foreach (XmlElement mel in el.SelectNodes(pr + "member", nsmgr))
            {
                MemberDef md = new MemberDef();
                md.LoadFromXml(mel, nsmgr);
                Members.Add(md);
            }
        }
Beispiel #3
0
        public virtual MemberDef CloneMemberDef()
        {
            MemberDef md = new MemberDef(this);

            return(md);
        }
Beispiel #4
0
 public MemberDef(MemberDef rhs) : this(rhs.Name, rhs.TypeName, rhs.IsArray, rhs.IsRequired)
 {
 }
Beispiel #5
0
 public virtual MemberDef CloneMemberDef()
 {
     MemberDef md = new MemberDef(this);
     return md;
 }
Beispiel #6
0
 public MemberDef(MemberDef rhs) : this(rhs.Name, rhs.TypeName, rhs.IsArray, rhs.IsRequired)
 {
 }