Ejemplo n.º 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();
        }
Ejemplo n.º 2
0
 public WorkCalerndarEngine(IRenderer renderer, IInputHandler inputHandler, CommandFactory commandFactory)
 {
     this.Renderer = renderer;
     this.InputHandler = inputHandler;
     this.CommandFactory = commandFactory;
 }