/// <summary>
 /// Copyy constructor
 /// </summary>
 /// <param name="copy"></param>
 public AttachmentsMediaInfo(AttachmentsMediaInfo copy)
 {
     this._formattedTitle   = copy._formattedTitle;
     this._formattedCaption = copy._formattedCaption;
     this._contentType      = copy._contentType;
     this._displayType      = copy._displayType;
 }
        //Convert the AttachmentsMediaInfo to its CIM equivalent
        internal CIMAttachmentsMediaInfo CreateAttachmentMediaInfo(AttachmentsMediaInfo attachment)
        {
            CIMAttachmentsMediaInfo mediaInfo = new CIMAttachmentsMediaInfo();

            mediaInfo.Title       = attachment.Title;
            mediaInfo.Caption     = attachment.Caption;
            mediaInfo.ContentType = attachment.MimeContentType;
            mediaInfo.DisplayType = attachment.AttachmentDisplayType;
            return(mediaInfo);
        }
 /// <summary>
 /// Copyy constructor
 /// </summary>
 /// <param name="copy"></param>
 public AttachmentsMediaInfo(AttachmentsMediaInfo copy) {
     this._formattedTitle = copy._formattedTitle;
     this._formattedCaption = copy._formattedCaption;
     this._contentType = copy._contentType;
     this._displayType = copy._displayType;
 }
 //Convert the AttachmentsMediaInfo to its CIM equivalent
 internal CIMAttachmentsMediaInfo CreateAttachmentMediaInfo(AttachmentsMediaInfo attachment) {
     CIMAttachmentsMediaInfo mediaInfo = new CIMAttachmentsMediaInfo();
     mediaInfo.Title = attachment.Title;
     mediaInfo.Caption = attachment.Caption;
     mediaInfo.ContentType = attachment.MimeContentType;
     mediaInfo.DisplayType = attachment.AttachmentDisplayType;
     return mediaInfo;
 }