public MyMain()
 {
     //assign the values to each class in the MyMain contrsuctor
     subSubC = new SubSubC()
     {
         CustomerId = 2, UniqueName = "XXBB"
     };
     subSubE = new SubSubE()
     {
         CustomerId = 3, UniqueName = "ZZCC"
     };
 }
Пример #2
0
 public void ServiceMethod2(SubSubE param)
 {
 }
Пример #3
0
    public void SendRequestToService2()
    {
        var subSub = new SubSubE();

        (new MyServiceObject()).ServiceMethod2(Initialize(ref subSub));
    }