Пример #1
0
 public void FacadeOperation1()
 {
     subsystem2.Operation3();
     subsystem1.Operation2();
     subsystem3.Operation7();
     subsystem3.Operation5();
     subsystem4.Operation9();
 }
Пример #2
0
        public string Operation()
        {
            var result = "First Operation: \n";

            result += _subsystem1.Operation1() + "  " + _subsystem2.Operation1() + "\n";
            result += "Second Operation: \n";
            result += _subsystem1.Operation2() + "  " + _subsystem2.Operation2() + "\n";
            return(result);
        }