示例#1
0
        public void NestedType_Reference_To_Parent_Injection()
        {
            var parent = new NestedClassParent();
            var child  = new NestedClassParent.NestedClassChild(parent);

            // This will throw an null exception

            Assert.AreEqual(true, true);
        }
示例#2
0
 public NestedClassChild(NestedClassParent parent)
 {
     this.parent = parent;
 }