Exemplo n.º 1
0
 public override MessageItem CreateReply(MailboxSession session, StoreId parentFolderId, ReplyForwardConfiguration configuration)
 {
     this.CheckDisposed("CreateReply");
     ExTraceGlobals.StorageTracer.Information((long)this.GetHashCode(), "RightsManagedMessageItem::CreateReply.");
     if (this.decodedItem == null)
     {
         return(base.CreateReply(session, parentFolderId, configuration));
     }
     this.CheckPermission(ContentRight.Reply);
     return(this.CreateReplyForwardInternal(session, parentFolderId, configuration, delegate(RightsManagedMessageItem original, RightsManagedMessageItem result, ReplyForwardConfiguration configurationPassed)
     {
         RightsManagedReplyCreation rightsManagedReplyCreation = new RightsManagedReplyCreation(original, result, configurationPassed, false);
         rightsManagedReplyCreation.PopulateProperties();
     }));
 }
 protected override void UpdateNewItemProperties()
 {
     base.UpdateNewItemProperties();
     RightsManagedReplyCreation.CopyDrmProperties(this.originalItem, this.newItem);
 }