Fixed PageFilter docs

This commit is contained in:
Kiran Challa 2018-04-18 10:27:19 -07:00
parent 1cede88f26
commit 6e4bd1eb46
3 changed files with 6 additions and 4 deletions

View File

@ -6,7 +6,8 @@ using System.Threading.Tasks;
namespace Microsoft.AspNetCore.Mvc.Filters
{
/// <summary>
/// A filter that asynchronously surrounds execution of the page handler method.
/// A filter that asynchronously surrounds execution of a page handler method. This filter is executed only when
/// decorated on a handler's type and not on individual handler methods.
/// </summary>
public interface IAsyncPageFilter : IFilterMetadata
{

View File

@ -4,7 +4,8 @@
namespace Microsoft.AspNetCore.Mvc.Filters
{
/// <summary>
/// A filter that surrounds execution of a page handler method.
/// A filter that surrounds execution of a page handler method. This filter is executed only when decorated on a
/// handler's type and not on individual handler methods.
/// </summary>
public interface IPageFilter : IFilterMetadata
{
@ -21,7 +22,7 @@ namespace Microsoft.AspNetCore.Mvc.Filters
void OnPageHandlerExecuting(PageHandlerExecutingContext context);
/// <summary>
/// Called after the handler method executes, before the action method is invoked.
/// Called after the handler method executes, before the action result executes.
/// </summary>
/// <param name="context">The <see cref="PageHandlerExecutedContext"/>.</param>
void OnPageHandlerExecuted(PageHandlerExecutedContext context);

View File

@ -1675,7 +1675,7 @@ namespace Microsoft.AspNetCore.Mvc.RazorPages
}
/// <summary>
/// Called after the handler method executes, before the action method is invoked.
/// Called after the handler method executes, before the action result executes.
/// </summary>
/// <param name="context">The <see cref="PageHandlerExecutedContext"/>.</param>
public virtual void OnPageHandlerExecuted(PageHandlerExecutedContext context)