예제 #1
0
        private static void RefreshGoogleCalendar(UploadToGoogleOptions options)
        {
            var ftpHelper = new FtpHelper(options);
            var googleCal = new GoogleCalendar(options);

            ftpHelper.Download();
            googleCal.RemoveEventsFromWorkCalendar();
            googleCal.AddEventsToWorkCalendar(SettingsHelper.LocalIcalPath);
        }
예제 #2
0
 public GoogleCalendar(UploadToGoogleOptions options)
 {
     _options = options;
 }