예제 #1
0
        internal static void Main(string[] args)
        {
            IPerformanceDatabase performanceDatabase = new PerformanceDatabase();
            ICommandExecutor commandExecutor = new CommandExecutor(performanceDatabase);
            IEngine engine = new TheatreEngine(commandExecutor);

            engine.Run();
        }
 public void InitializePerformanceRepository()
 {
     this.performanceDatabase = new PerformanceDatabase();
 }