Jaa


EnableQueryAttribute.OnActionExecuted Method

Definition

Overloads

OnActionExecuted(ActionExecutedContext)

Performs the query composition after action is executed. It first tries to retrieve the IQueryable from the returning response message. It then validates the query from uri based on the validation settings on EnableQueryAttribute. It finally applies the query appropriately, and reset it back on the response message.

OnActionExecuted(HttpActionExecutedContext)

Performs the query composition after action is executed. It first tries to retrieve the IQueryable from the returning response message. It then validates the query from uri based on the validation settings on EnableQueryAttribute. It finally applies the query appropriately, and reset it back on the response message.

OnActionExecuted(ActionExecutedContext)

Performs the query composition after action is executed. It first tries to retrieve the IQueryable from the returning response message. It then validates the query from uri based on the validation settings on EnableQueryAttribute. It finally applies the query appropriately, and reset it back on the response message.

public override void OnActionExecuted (Microsoft.AspNetCore.Mvc.Filters.ActionExecutedContext actionExecutedContext);
override this.OnActionExecuted : Microsoft.AspNetCore.Mvc.Filters.ActionExecutedContext -> unit
Public Overrides Sub OnActionExecuted (actionExecutedContext As ActionExecutedContext)

Parameters

actionExecutedContext
ActionExecutedContext

The context related to this action, including the response message, request message and HttpConfiguration etc.

Applies to

OnActionExecuted(HttpActionExecutedContext)

Performs the query composition after action is executed. It first tries to retrieve the IQueryable from the returning response message. It then validates the query from uri based on the validation settings on EnableQueryAttribute. It finally applies the query appropriately, and reset it back on the response message.

public override void OnActionExecuted (System.Web.Http.Filters.HttpActionExecutedContext actionExecutedContext);
override this.OnActionExecuted : System.Web.Http.Filters.HttpActionExecutedContext -> unit
Public Overrides Sub OnActionExecuted (actionExecutedContext As HttpActionExecutedContext)

Parameters

actionExecutedContext
System.Web.Http.Filters.HttpActionExecutedContext

The context related to this action, including the response message, request message and HttpConfiguration etc.

Applies to