示例#1
0
 public PoolValue(GlobalPool parent)
 {
     if (parent == null)
     {
         throw new ArgumentNullException();
     }
     this.Pool = parent;
 }
示例#2
0
        public PoolValue(GlobalPool parent, XmlNode xml, XmlNamespaceManager nsm)
            : this(parent)
        {
            if (xml == null)
                throw new ArgumentNullException();
            if (nsm == null)
                throw new ArgumentNullException();

            XmlAttribute attr = xml.SelectSingleNode("@name", nsm) as XmlAttribute;
            if (attr != null)
                this.Name = attr.Value;

            XmlElement elem = xml.SelectSingleNode("sd:Initializer", nsm) as XmlElement;
            if (elem != null)
                this.Initializer = elem.InnerText;
        }
示例#3
0
        public PoolValue(GlobalPool parent, XmlNode xml, XmlNamespaceManager nsm)
            : this(parent)
        {
            if (xml == null)
            {
                throw new ArgumentNullException();
            }
            if (nsm == null)
            {
                throw new ArgumentNullException();
            }

            XmlAttribute attr = xml.SelectSingleNode("@name", nsm) as XmlAttribute;
            if (attr != null)
            {
                this.Name = attr.Value;
            }

            XmlElement elem = xml.SelectSingleNode("sd:Initializer", nsm) as XmlElement;
            if (elem != null)
            {
                this.Initializer = elem.InnerText;
            }
        }
示例#4
0
 public PoolVariable(GlobalPool parent, XmlNode xml, XmlNamespaceManager nsm)
     : base(parent, xml, nsm)
 {
 }
示例#5
0
 public PoolVariable(GlobalPool parent)
     : base(parent)
 {
 }
示例#6
0
 public PoolConstant(GlobalPool parent, XmlNode xml, XmlNamespaceManager nsm)
     : base(parent, xml, nsm)
 {
 }
示例#7
0
 public PoolConstant(GlobalPool parent)
     : base(parent)
 {
 }
示例#8
0
 public PoolValue(GlobalPool parent)
 {
     if (parent == null)
         throw new ArgumentNullException();
     this.Pool = parent;
 }
示例#9
0
 public PoolConstant(GlobalPool parent, XmlNode xml, XmlNamespaceManager nsm)
     : base(parent, xml, nsm)
 {
 }
示例#10
0
 public PoolConstant(GlobalPool parent)
     : base(parent)
 {
 }
示例#11
0
 public PoolVariable(GlobalPool parent, XmlNode xml, XmlNamespaceManager nsm)
     : base(parent, xml, nsm)
 {
 }
示例#12
0
 public PoolVariable(GlobalPool parent)
     : base(parent)
 {
 }