Beispiel #1
0
        private static void Main()
        {
            IRenderer renderer = new Renderer();
            IInputHandler inputHandler = new InputHandler();
            CommandFactory commandFactory = new CommandFactory();
            WorkCalerndarEngine engine = new WorkCalerndarEngine(renderer, inputHandler, commandFactory);

            engine.Run();
        }
 public WorkCalerndarEngine(IRenderer renderer, IInputHandler inputHandler, CommandFactory commandFactory)
 {
     this.Renderer = renderer;
     this.InputHandler = inputHandler;
     this.CommandFactory = commandFactory;
 }