private IOfficeCalendar CreateOfficeCalendar()
        {
            IOfficeCalendar calendar;

            if (Settings.Instance.UseExchange)
            {
                calendar = new EwsCalendar();
            }
            else
            {
                calendar = new OutlookCalendar();
            }
            return(calendar);
        }
Beispiel #2
0
        private IOfficeCalendar CreateOfficeCalendar()
        {
            IOfficeCalendar calendar;

            if (Settings.Instance.UseExchange)
            {
                calendar = new EwsCalendar();
            }
            else
            {
                calendar = new OutlookCalendar();
            }
            return calendar;
        }