private string GetActionString(CalendarItemAction action) { string output = ""; if (action.HasFlag(CalendarItemAction.GoogleAdd)) { output += "Add to Google | "; } if (action.HasFlag(CalendarItemAction.GoogleUpdate)) { output += "Update Google | "; } if (action.HasFlag(CalendarItemAction.GoogleDelete)) { output += "Delete from Google | "; } if (action.HasFlag(CalendarItemAction.OutlookAdd)) { output += "Add to Outlook | "; } if (action.HasFlag(CalendarItemAction.OutlookUpdate)) { output += "Update Outlook | "; } if (action.HasFlag(CalendarItemAction.OutlookDelete)) { output += "Delete from Outlook | "; } return(output.TrimEnd(new [] { ' ', '|' })); }
public AutoSyncEvent() { Pair = null; EntryId = null; Action = CalendarItemAction.Nothing; }