Exemplo n.º 1
0
 public ImportActionHandler(
     ICalendarImporter calendarImporter,
     IChooseCalendarStepHandler chooseACalendarStepHandler,
     IConsole console)
     : base(console, "Import")
 {
     this.calendarImporter           = calendarImporter;
     this.chooseACalendarStepHandler = chooseACalendarStepHandler;
 }
Exemplo n.º 2
0
 public MoveEventActionHandler(
     IConsole console,
     IJsonFileRepository <Event> jsonFileRepository,
     IEventFilterFactory eventFilterFactory,
     IEqualityComparer <Event> eventComparer,
     IChooseCalendarStepHandler chooseACalendarStepHandler,
     IChooseEventStepHandler chooseAnEventStepHandler,
     IEventUpdateService eventUpdater)
 {
     this.console                    = console;
     this.jsonFileRepository         = jsonFileRepository;
     this.eventFilterFactory         = eventFilterFactory;
     this.eventComparer              = eventComparer;
     this.chooseACalendarStepHandler = chooseACalendarStepHandler;
     this.chooseAnEventStepHandler   = chooseAnEventStepHandler;
     this.eventUpdater               = eventUpdater;
 }
Exemplo n.º 3
0
 public CreateEventActionHandler(IChooseCalendarStepHandler chooseCalendarStepHandler, IEventManagementService eventService, IConsole console)
     : base(console, "Create event")
 {
     this.chooseCalendarStepHandler = chooseCalendarStepHandler;
     this.eventService = eventService;
 }
Exemplo n.º 4
0
 public ImportActionHandler(ICalendarImporter calendarImporter, IChooseCalendarStepHandler chooseACalendarStepHandler)
 {
     this.calendarImporter           = calendarImporter;
     this.chooseACalendarStepHandler = chooseACalendarStepHandler;
 }