Example #1
0
 public void PropertyInjectionUseNew_Test()
 {
     InjectTestClass  objTest  = new InjectTestClass();
     InjectTestClass1 objTest1 = new InjectTestClass1(objTest);
     InjectTestClass2 objTest2 = new InjectTestClass2(objTest1);
     InjectTestClass2 obj1     = objTest2.Text;
 }
Example #2
0
 public void PropertyInjectionUseNew_Test()
 {
     InjectTestClass objTest = new InjectTestClass();
     InjectTestClass1 objTest1 = new InjectTestClass1(objTest);
     InjectTestClass2 objTest2 = new InjectTestClass2(objTest1);
     InjectTestClass2 obj1 = objTest2.Text;
 }