/// <summary> /// Performs the post-execute action. /// </summary> /// <param name="action">The action.</param> /// <param name="context">The action context.</param> /// <param name="result">The result.</param> public void PerformPostAction(IAction action, ActionContext context, ActionResult result) { // Exit if the command has failed if (!result.Success || action.Name != typeof(PageNavigationAction).Name) { return; } var navigationContext = (PageNavigationAction.PageNavigationActionContext)context; var actionType = navigationContext.PageAction; var pageArguments = navigationContext.PageArguments; // ReSharper disable once SuspiciousTypeConversion.Global var page = result.Result as IPage; this.OnPageNavigate(page, actionType, pageArguments); }
/// <summary> /// Performs the post-execute action. /// </summary> /// <param name="action">The action.</param> /// <param name="context">The action context.</param> /// <param name="result">The result.</param> public void PerformPostAction(IAction action, ActionContext context, ActionResult result) { }