public ImportActionHandler( ICalendarImporter calendarImporter, IChooseCalendarStepHandler chooseACalendarStepHandler, IConsole console) : base(console, "Import") { this.calendarImporter = calendarImporter; this.chooseACalendarStepHandler = chooseACalendarStepHandler; }
private void ImportAppointments(Stream stream) { if (stream == null) { return; } ICalendarImporter importer = new ICalendarImporter(schedulerControl1); importer.Import(stream); }
public ImportActionHandler(ICalendarImporter calendarImporter, IChooseCalendarStepHandler chooseACalendarStepHandler) { this.calendarImporter = calendarImporter; this.chooseACalendarStepHandler = chooseACalendarStepHandler; }