Example #1
0
 public CalendarEventUpdater(GoogleCalendar.ActionType UpdateType, CalendarEvent calEvent, RecurrenceSettings calRecurrence)
 {
     this.Type = UpdateType;
     this.CalendarEvent = calEvent;
     this.Recurrence = calRecurrence;
     this.Reminder = 10;
 }
Example #2
0
 public MainViewModel(GoogleCalendar googleCalendar)
 {
     try
     {
         log.Debug("Loading MainWindow view model...");
         calendar = googleCalendar;
         SelectEventsTabCommand = new RelayCommand(SelectEventsTab);
         log.Debug("MainWindow view model was succssfully loaded");
     }
     catch(Exception ex)
     {
         log.Error("Failed to load MainWindow view model:", ex);
     }            
 }
Example #3
0
 public CalendarEventUpdater(GoogleCalendar.ActionType UpdateType, CalendarEvent calEvent)
 {
     this.Type = UpdateType;
     this.CalendarEvent = calEvent;
     this.Reminder = 10;
 }