Beispiel #1
0
        public static void Run()
        {
            var lib1   = new Library1();
            var lib2   = new Library2();
            var facade = new Facade(lib1, lib2);

            Console.WriteLine(facade.Operation());
        }
Beispiel #2
0
 public Facade(Library1 library1, Library2 library2)
 {
     this.library1 = library1;
     this.library2 = library2;
 }