Fixed PageFilter docs
This commit is contained in:
parent
1cede88f26
commit
6e4bd1eb46
|
|
@ -6,7 +6,8 @@ using System.Threading.Tasks;
|
||||||
namespace Microsoft.AspNetCore.Mvc.Filters
|
namespace Microsoft.AspNetCore.Mvc.Filters
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <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>
|
/// </summary>
|
||||||
public interface IAsyncPageFilter : IFilterMetadata
|
public interface IAsyncPageFilter : IFilterMetadata
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,8 @@
|
||||||
namespace Microsoft.AspNetCore.Mvc.Filters
|
namespace Microsoft.AspNetCore.Mvc.Filters
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <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>
|
/// </summary>
|
||||||
public interface IPageFilter : IFilterMetadata
|
public interface IPageFilter : IFilterMetadata
|
||||||
{
|
{
|
||||||
|
|
@ -21,7 +22,7 @@ namespace Microsoft.AspNetCore.Mvc.Filters
|
||||||
void OnPageHandlerExecuting(PageHandlerExecutingContext context);
|
void OnPageHandlerExecuting(PageHandlerExecutingContext context);
|
||||||
|
|
||||||
/// <summary>
|
/// <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>
|
/// </summary>
|
||||||
/// <param name="context">The <see cref="PageHandlerExecutedContext"/>.</param>
|
/// <param name="context">The <see cref="PageHandlerExecutedContext"/>.</param>
|
||||||
void OnPageHandlerExecuted(PageHandlerExecutedContext context);
|
void OnPageHandlerExecuted(PageHandlerExecutedContext context);
|
||||||
|
|
|
||||||
|
|
@ -1675,7 +1675,7 @@ namespace Microsoft.AspNetCore.Mvc.RazorPages
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <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>
|
/// </summary>
|
||||||
/// <param name="context">The <see cref="PageHandlerExecutedContext"/>.</param>
|
/// <param name="context">The <see cref="PageHandlerExecutedContext"/>.</param>
|
||||||
public virtual void OnPageHandlerExecuted(PageHandlerExecutedContext context)
|
public virtual void OnPageHandlerExecuted(PageHandlerExecutedContext context)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue