Inheritance: DummyAncestor
Exemple #1
0
        public void PSObjectWrapsInstance()
        {
            var instace = new DummyDescendant();
            var psobj   = PSObject.AsPSObject(instace);

            Assert.AreSame(instace, psobj.BaseObject);
            Assert.AreSame(instace, psobj.ImmediateBaseObject);
        }
Exemple #2
0
 public void PSObjectWrapsInstance()
 {
     var instace = new DummyDescendant();
     var psobj = PSObject.AsPSObject(instace);
     Assert.AreSame(instace, psobj.BaseObject);
     Assert.AreSame(instace, psobj.ImmediateBaseObject);
 }