Exemple #1
0
        static void Main(string[] args)
        {
            FirstComplexSystem  firstComplexSystem  = new FirstComplexSystem();
            SecondComplexSystem secondComplexSystem = new SecondComplexSystem();

            Facade facade = new Facade(firstComplexSystem, secondComplexSystem);

            facade.DoSomeImportantWork();
        }
Exemple #2
0
 public Facade(FirstComplexSystem firstComplexSystem, SecondComplexSystem secondComplexSystem)
 {
     this.firstComplexSystem  = firstComplexSystem;
     this.secondComplexSystem = secondComplexSystem;
 }