public Event eventFromCalendarItem(CalendarItem item)
        {
            var e = new Event();
            var startTime = new EventDateTime();
            startTime.DateTime = item.StartTime;
            var endTime = new EventDateTime();
            endTime.DateTime = item.EndTime;

            e.Summary = item.Subject;
            e.Start = startTime;
            e.End = endTime;
            e.Location = item.Location;
            e.Transparency = item.Busy ? "opaque" : "transparent";

            return e;
        }
 private static bool AreEventsDifferent(CalendarItem outlookEvent, Event googleEvent)
 {
     return outlookEvent.Busy != (_BusyFromGoogle(googleEvent.Transparency))
         || outlookEvent.Location != googleEvent.Location;
 }