Show / Hide Table of Contents

    Class AsyncLightQueryAttribute

    Inheritance
    System.Object
    System.Attribute
    Microsoft.AspNetCore.Mvc.Filters.ActionFilterAttribute
    AsyncLightQueryAttribute
    Implements
    Microsoft.AspNetCore.Mvc.Filters.IActionFilter
    Microsoft.AspNetCore.Mvc.Filters.IAsyncActionFilter
    Microsoft.AspNetCore.Mvc.Filters.IResultFilter
    Microsoft.AspNetCore.Mvc.Filters.IAsyncResultFilter
    Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter
    Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata
    Inherited Members
    Microsoft.AspNetCore.Mvc.Filters.ActionFilterAttribute.OnActionExecuting(Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext)
    Microsoft.AspNetCore.Mvc.Filters.ActionFilterAttribute.OnActionExecuted(Microsoft.AspNetCore.Mvc.Filters.ActionExecutedContext)
    Microsoft.AspNetCore.Mvc.Filters.ActionFilterAttribute.OnActionExecutionAsync(Microsoft.AspNetCore.Mvc.Filters.ActionExecutingContext, Microsoft.AspNetCore.Mvc.Filters.ActionExecutionDelegate)
    Microsoft.AspNetCore.Mvc.Filters.ActionFilterAttribute.OnResultExecuting(Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext)
    Microsoft.AspNetCore.Mvc.Filters.ActionFilterAttribute.OnResultExecuted(Microsoft.AspNetCore.Mvc.Filters.ResultExecutedContext)
    Microsoft.AspNetCore.Mvc.Filters.ActionFilterAttribute.Order
    System.Attribute.Equals(System.Object)
    System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type)
    System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type, System.Boolean)
    System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type)
    System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type, System.Boolean)
    System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type)
    System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type, System.Boolean)
    System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type)
    System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.Assembly)
    System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type)
    System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo)
    System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type)
    System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.Module)
    System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type)
    System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo)
    System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type)
    System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type, System.Boolean)
    System.Attribute.GetHashCode()
    System.Attribute.IsDefaultAttribute()
    System.Attribute.IsDefined(System.Reflection.Assembly, System.Type)
    System.Attribute.IsDefined(System.Reflection.Assembly, System.Type, System.Boolean)
    System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type)
    System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type, System.Boolean)
    System.Attribute.IsDefined(System.Reflection.Module, System.Type)
    System.Attribute.IsDefined(System.Reflection.Module, System.Type, System.Boolean)
    System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type)
    System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type, System.Boolean)
    System.Attribute.Match(System.Object)
    System.Attribute.TypeId
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: LightQuery.EntityFrameworkCore
    Assembly: LightQuery.EntityFrameworkCore.dll
    Syntax
    public class AsyncLightQueryAttribute : ActionFilterAttribute, IActionFilter, IAsyncActionFilter, IResultFilter, IAsyncResultFilter, IOrderedFilter, IFilterMetadata

    Constructors

    | Improve this Doc View Source

    AsyncLightQueryAttribute(Boolean, Int32, String)

    Declaration
    public AsyncLightQueryAttribute(bool forcePagination = false, int defaultPageSize = 50, string defaultSort = null)
    Parameters
    Type Name Description
    System.Boolean forcePagination
    System.Int32 defaultPageSize
    System.String defaultSort

    Methods

    | Improve this Doc View Source

    OnResultExecutionAsync(ResultExecutingContext, ResultExecutionDelegate)

    Declaration
    public override Task OnResultExecutionAsync(ResultExecutingContext context, ResultExecutionDelegate next)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext context
    Microsoft.AspNetCore.Mvc.Filters.ResultExecutionDelegate next
    Returns
    Type Description
    System.Threading.Tasks.Task
    Overrides
    Microsoft.AspNetCore.Mvc.Filters.ActionFilterAttribute.OnResultExecutionAsync(Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext, Microsoft.AspNetCore.Mvc.Filters.ResultExecutionDelegate)

    Implements

    Microsoft.AspNetCore.Mvc.Filters.IActionFilter
    Microsoft.AspNetCore.Mvc.Filters.IAsyncActionFilter
    Microsoft.AspNetCore.Mvc.Filters.IResultFilter
    Microsoft.AspNetCore.Mvc.Filters.IAsyncResultFilter
    Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter
    Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata
    • Improve this Doc
    • View Source
    Back to top © Georg Dangl