Beispiel #1
0
        public void Execute()
        {
            //Old client implementation
            IRepository repository = new LSP.DataBase();
            repository.Save();

            
            //implementation for new clients who want to generate report
            IReport report = new DataBaseReport();
            report.Generate();
        }
Beispiel #2
0
        public void Execute()
        {
            //Old client implementation
            IRepository repository = new LSP.DataBase();

            repository.Save();


            //implementation for new clients who want to generate report
            IReport report = new DataBaseReport();

            report.Generate();
        }