private void AdjustInfoTypeSpecificProperties(MessageItem message, string textToInject, bool skipBodyUpdate = false)
 {
     if (message == null)
     {
         throw new ArgumentNullException("message");
     }
     if (this.info is MissingAttendeeItemRumInfo)
     {
         this.AssertMessageTypeMatch(message is MeetingRequest, message);
         MissingAttendeeItemRumInfo missingAttendeeItemRumInfo = (MissingAttendeeItemRumInfo)this.info;
         message[MeetingMessageSchema.ItemVersion] = missingAttendeeItemRumInfo.DeletedItemVersion;
         if (!skipBodyUpdate)
         {
             this.DecorateMissingItemRumBody(message, textToInject, missingAttendeeItemRumInfo);
             return;
         }
         return;
     }
     else
     {
         if (this.info is UpdateRumInfo)
         {
             this.AssertMessageTypeMatch(message is MeetingRequest, message);
             this.DecorateGeneralUpdateRumBody(message, textToInject, (UpdateRumInfo)this.info);
             return;
         }
         if (this.info is CancellationRumInfo)
         {
             this.AssertMessageTypeMatch(message is MeetingCancellation, message);
             this.DecorateCancellationRumBody(message, textToInject, (CancellationRumInfo)this.info);
             return;
         }
         if (this.info is ResponseRumInfo)
         {
             this.AssertMessageTypeMatch(message is MeetingResponse, message);
             this.DecorateResponseRumBody(message, textToInject, (ResponseRumInfo)this.info);
             return;
         }
         if (this.info is AttendeeInquiryRumInfo)
         {
             this.AssertMessageTypeMatch(message is MeetingInquiryMessage, message);
             this.DecorateAttendeeInquiryRumBody(message, textToInject, (AttendeeInquiryRumInfo)this.info);
             return;
         }
         throw new NotSupportedException(string.Format("Rum type '{0}' is not supported.", this.info.GetType().Name));
     }
 }
        private void DecorateMissingItemRumBody(MessageItem message, string textToInject, MissingAttendeeItemRumInfo info)
        {
            string localizedString = this.GetLocalizedString(ClientStrings.MissingItemRumDescription("2013"), message);

            this.DecorateRumBody(message, textToInject, localizedString, null);
        }