// Token: 0x060002C4 RID: 708 RVA: 0x000186F8 File Offset: 0x000168F8
 public MeetingResponseWriter(MeetingResponse meetingResponse, UserContext userContext, bool isEmbeddedItem) : base(meetingResponse, userContext)
 {
     this.meetingResponse = meetingResponse;
     if (!isEmbeddedItem && !meetingResponse.IsDelegated())
     {
         this.isOrganizer = base.ProcessMeetingMessage(meetingResponse, Utilities.IsItemInDefaultFolder(meetingResponse, DefaultFolderType.Inbox));
         if (this.isOrganizer)
         {
             this.AttendeeResponseWell = new CalendarItemAttendeeResponseRecipientWell(userContext, base.CalendarItemBase);
         }
     }
     this.recipientWell = new MessageRecipientWell(userContext, meetingResponse);
 }
Ejemplo n.º 2
0
        public MeetingResponseWriter(MeetingResponse meetingResponse, UserContext userContext, bool isPreviewForm, bool isInDeletedItems, bool isEmbeddedItem, bool isInJunkEmailFolder, bool isSuspectedPhishingItem, bool isLinkEnabled) : base(meetingResponse, userContext, isPreviewForm, isInDeletedItems, isEmbeddedItem, isInJunkEmailFolder, isSuspectedPhishingItem, isLinkEnabled)
        {
            this.meetingResponse = meetingResponse;
            this.isEmbeddedItem  = isEmbeddedItem;
            object obj = meetingResponse.TryGetProperty(MessageItemSchema.IsDraft);

            this.isDraft     = (obj is bool && (bool)obj);
            this.isDelegated = meetingResponse.IsDelegated();
            if (!Utilities.IsPublic(meetingResponse) && !this.isDraft && !isEmbeddedItem)
            {
                this.isOrganizer = base.ProcessMeetingMessage(meetingResponse, Utilities.IsItemInDefaultFolder(meetingResponse, DefaultFolderType.Inbox));
                if (this.isOrganizer)
                {
                    this.AttendeeResponseWell = new CalendarItemAttendeeResponseRecipientWell(this.CalendarItemBase);
                }
            }
            this.recipientWell = new MessageRecipientWell(meetingResponse);
        }