Ejemplo n.º 1
0
 public void PropertyInjectionUseNew_Test()
 {
     InjectTestClass  objTest  = new InjectTestClass();
     InjectTestClass1 objTest1 = new InjectTestClass1(objTest);
     InjectTestClass2 objTest2 = new InjectTestClass2(objTest1);
     InjectTestClass2 obj1     = objTest2.Text;
 }
Ejemplo n.º 2
0
 public InjectTestClass1(InjectTestClass intobj1)
 {
     intobj1.Name = name;
 }
Ejemplo n.º 3
0
 public InjectTestClass1(InjectTestClass intobj1)
 {
     intobj1.Name = name;
 }
Ejemplo n.º 4
0
 public void PropertyInjectionUseNew_Test()
 {
     InjectTestClass objTest = new InjectTestClass();
     InjectTestClass1 objTest1 = new InjectTestClass1(objTest);
     InjectTestClass2 objTest2 = new InjectTestClass2(objTest1);
     InjectTestClass2 obj1 = objTest2.Text;
 }