Beispiel #1
0
 protected virtual void ShallowCopyFrom(XObject copyFrom)
 {
     this.region = copyFrom.region;             //immutable value type
 }
Beispiel #2
0
 public XAttributeCollection(XObject parent)
 {
     Debug.Assert(parent != null);
     this.parent = parent;
 }
Beispiel #3
0
        public void AssertNodeIs <T> ()
        {
            XObject n = Nodes.Peek();

            Assert.IsTrue(n is T, "Node is {0}, not {1}", n.GetType().Name, typeof(T).Name);
        }