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

            engine.Run();
        }
コード例 #2
0
 public void InitializePerformanceRepository()
 {
     this.performanceDatabase = new PerformanceDatabase();
 }