Example #1
0
        static void Main(string[] args)
        {
            DataBaseSubSystem dataBaseSubSystem = new DataBaseSubSystem();
            FileSubSystem     fileSubSystem     = new FileSubSystem();
            Facade            facade            = new Facade(dataBaseSubSystem, fileSubSystem);

            Console.WriteLine(facade.Operation());
        }
Example #2
0
 public Facade(DataBaseSubSystem dataBaseSubSystem, FileSubSystem fileSubSystem)
 {
     _dataBaseSubSystem = dataBaseSubSystem;
     _fileSubSystem     = fileSubSystem;
 }