Exemple #1
0
        private static MeetingResponse EditResponseInternal(ResponseType responseType, CalendarItemBase calendarItemBase)
        {
            ExTraceGlobals.CalendarTracer.TraceDebug(0L, "Create meeting response and edit");
            calendarItemBase.LocationIdentifierHelperInstance.SetLocationIdentifier(54431U, LastChangeAction.RespondToMeetingRequest);
            MeetingResponse meetingResponse = MeetingUtilities.CreateMeetingResponse(responseType, calendarItemBase, true);

            meetingResponse.Save(SaveMode.ResolveConflicts);
            MeetingUtilities.ProcessCalendarItemAfterResponse(responseType, calendarItemBase, true);
            return(meetingResponse);
        }
Exemple #2
0
 private static void NonEditResponseInternal(ResponseType responseType, CalendarItemBase calendarItemBase, bool sendResponse)
 {
     ExTraceGlobals.CalendarTracer.TraceDebug(0L, "Process meeting response without editing");
     calendarItemBase.LocationIdentifierHelperInstance.SetLocationIdentifier(42143U, LastChangeAction.RespondToMeetingRequest);
     using (MeetingResponse meetingResponse = MeetingUtilities.CreateMeetingResponse(responseType, calendarItemBase, sendResponse))
     {
         if (sendResponse)
         {
             meetingResponse.Send();
         }
     }
     MeetingUtilities.ProcessCalendarItemAfterResponse(responseType, calendarItemBase, sendResponse);
 }