public void BindTo(XMLObject obj)
 {
     if (obj == null)
         throw new ArgumentNullException ("obj");
     if (xmlObject != null)
         throw new ArgumentException ("Already bound to an xml object.");
     this.xmlObject = obj;
 }
Exemple #2
0
 public void BindTo(XMLObject obj)
 {
     if (obj == null)
     {
         throw new ArgumentNullException("obj");
     }
     if (xmlObject != null)
     {
         throw new ArgumentException("Already bound to an xml object.");
     }
     this.xmlObject = obj;
 }
 protected internal XMLObject (XMLLib lib, XMLObject prototype)
     : base (lib.GlobalScope, prototype)
 {
     this.lib = lib;
 }
 protected internal XMLObject(XMLLib lib, XMLObject prototype)
     : base(lib.GlobalScope, prototype)
 {
     this.lib = lib;
 }