public override void CommandCompleted(cCommandResult pResult, cTrace.cContext pParentContext) { var lContext = pParentContext.NewMethod(nameof(cDeleteCommandHook), nameof(CommandCompleted), pResult); if (pResult.ResultType == eCommandResultType.ok) { mItem.ResetExists(lContext); } }
public override void CommandCompleted(cCommandResult pResult, cTrace.cContext pParentContext) { var lContext = pParentContext.NewMethod(nameof(cStatusCommandHook), nameof(CommandCompleted), pResult); if (pResult.ResultType == eCommandResultType.bad || mItem.Exists == false) { return; } if (mItem.Status == null || mItem.Status.Sequence < mSequence) { mItem.ResetExists(lContext); } }
public override void CommandCompleted(cCommandResult pResult, cTrace.cContext pParentContext) { var lContext = pParentContext.NewMethod(nameof(cRenameCommandHook), nameof(CommandCompleted), pResult); if (pResult.ResultType != eCommandResultType.ok) { return; } if (mItem != null) { mItem.ResetExists(lContext); if (mItem.MailboxName.Delimiter != null) { mCache.ResetExists(new cMailboxPathPattern(mItem.MailboxName.Path + mItem.MailboxName.Delimiter, "*", mItem.MailboxName.Delimiter), mSequence, lContext); } } MailboxHandle = mCache.Create(mMailboxName, lContext); }