Пример #1
0
 public void MethodA()
 {
     Console.WriteLine("MethodA is start");
     one.MethodOne();
     two.MethodTwo();
     three.MethodThree();
     four.MethodFour();
 }
Пример #2
0
 public void MethodB()
 {
     Console.WriteLine("\n方法组B:");
     two.MethodTwo();
     three.MethodThree();
     four.MethodFour();
 }
Пример #3
0
 /// <summary>
 /// A demo method in the facade.
 /// </summary>
 public void MethodB()
 {
     // call subsystems two and three
     _two.MethodTwo();
     _three.MethodThree();
 }
Пример #4
0
 public void MethodB()
 {
     Console.WriteLine($"{Environment.NewLine}方法组B---");
     _two.MethodTwo();
     _three.MethodThree();
 }
Пример #5
0
 public void MethodB()
 {
     Console.WriteLine("MethodB called");
     three.MethodThree();
     one.MethodOne();
 }
Пример #6
0
 public void MethodB()
 {
     _subSystemTwo.MethodTwo();
     _subSystemThree.MethodThree();
 }
Пример #7
0
 public void MethodB()
 {
     Console.WriteLine("\nMethodB() ---- ");
     _two.MethodTwo();
     _three.MethodThree();
 }
Пример #8
0
 public void MethodB()
 {
     Console.WriteLine("方法组B()");
     three.MethodThree();
     one.MethodOne();
 }