Esempio n. 1
0
 internal override void TranslateEntryIds(IEntryIdTranslator translator)
 {
     base.TranslateEntryIds(translator);
     byte[] previousFolderId = this.PreviousFolderId;
     byte[] sourceFolderIdFromTargetFolderId = translator.GetSourceFolderIdFromTargetFolderId(previousFolderId);
     if (sourceFolderIdFromTargetFolderId == null)
     {
         MrsTracer.Common.Warning("Previous destination folder {0} doesn't have mapped source folder for action {1}", new object[]
         {
             TraceUtils.DumpEntryId(previousFolderId),
             this
         });
         base.Ignored = true;
     }
     this.PreviousFolderId = sourceFolderIdFromTargetFolderId;
 }
Esempio n. 2
0
 internal void TranslateFolderId(IEntryIdTranslator translator)
 {
     byte[] folderId = this.FolderId;
     byte[] sourceFolderIdFromTargetFolderId = translator.GetSourceFolderIdFromTargetFolderId(folderId);
     if (sourceFolderIdFromTargetFolderId == null)
     {
         MrsTracer.Common.Warning("Destination folder {0} doesn't have mapped source folder for action {1}", new object[]
         {
             TraceUtils.DumpEntryId(folderId),
             this
         });
         this.Ignored = true;
     }
     this.OriginalFolderId = folderId;
     this.FolderId         = sourceFolderIdFromTargetFolderId;
 }