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

            importer.Import(stream);
        }
示例#3
0
 public ImportActionHandler(ICalendarImporter calendarImporter, IChooseCalendarStepHandler chooseACalendarStepHandler)
 {
     this.calendarImporter           = calendarImporter;
     this.chooseACalendarStepHandler = chooseACalendarStepHandler;
 }