C# Class MvcApi.QueryableFilterAttribute

Inheritance: System.Web.Mvc.ActionFilterAttribute
Mostrar archivo Open project: dax70/MvcApi

Public Methods

Method Description
OnActionExecuted ( System.Web.Mvc.ActionExecutedContext actionExecutedContext ) : void
OnActionExecuting ( System.Web.Mvc.ActionExecutingContext actionContext ) : void
QueryableFilterAttribute ( ) : System
QueryableFilterAttribute ( QueryValidator queryValidator ) : System

Protected Methods

Method Description
ApplyResultLimit ( System.Web.Mvc.ActionExecutedContext actionExecutedContext, IQueryable query ) : IQueryable
GetDeserializedQuery ( IQueryable query, StructuredQuery structuredQery ) : IQueryable

Private Methods

Method Description
GetStructuredQuery ( System.Web.HttpRequestBase request ) : StructuredQuery

Method Details

ApplyResultLimit() protected method

protected ApplyResultLimit ( System.Web.Mvc.ActionExecutedContext actionExecutedContext, IQueryable query ) : IQueryable
actionExecutedContext System.Web.Mvc.ActionExecutedContext
query IQueryable
return IQueryable

GetDeserializedQuery() protected method

protected GetDeserializedQuery ( IQueryable query, StructuredQuery structuredQery ) : IQueryable
query IQueryable
structuredQery MvcApi.Query.StructuredQuery
return IQueryable

OnActionExecuted() public method

public OnActionExecuted ( System.Web.Mvc.ActionExecutedContext actionExecutedContext ) : void
actionExecutedContext System.Web.Mvc.ActionExecutedContext
return void

OnActionExecuting() public method

public OnActionExecuting ( System.Web.Mvc.ActionExecutingContext actionContext ) : void
actionContext System.Web.Mvc.ActionExecutingContext
return void

QueryableFilterAttribute() public method

public QueryableFilterAttribute ( ) : System
return System

QueryableFilterAttribute() public method

public QueryableFilterAttribute ( QueryValidator queryValidator ) : System
queryValidator QueryValidator
return System