Search Results for

    Show / Hide Table of Contents

    Class TranslateResultToActionResultAttribute

    Translates the Result object to an ActionResult.

    Result object can be:

    • Result<T>
    • ListedResult<T>
    • PagedResult<T>
    • Result
    • A subtype of ResultBase.
    Inheritance
    Object
    Attribute
    ActionFilterAttribute
    TranslateResultToActionResultAttribute
    Implements
    IActionFilter
    IAsyncActionFilter
    IResultFilter
    IAsyncResultFilter
    IOrderedFilter
    IFilterMetadata
    Inherited Members
    ActionFilterAttribute.OnActionExecuting(ActionExecutingContext)
    ActionFilterAttribute.OnActionExecutionAsync(ActionExecutingContext, ActionExecutionDelegate)
    ActionFilterAttribute.OnResultExecuting(ResultExecutingContext)
    ActionFilterAttribute.OnResultExecuted(ResultExecutedContext)
    ActionFilterAttribute.OnResultExecutionAsync(ResultExecutingContext, ResultExecutionDelegate)
    ActionFilterAttribute.Order
    Attribute.Equals(Object)
    Attribute.GetCustomAttribute(Assembly, Type)
    Attribute.GetCustomAttribute(Assembly, Type, Boolean)
    Attribute.GetCustomAttribute(MemberInfo, Type)
    Attribute.GetCustomAttribute(MemberInfo, Type, Boolean)
    Attribute.GetCustomAttribute(Module, Type)
    Attribute.GetCustomAttribute(Module, Type, Boolean)
    Attribute.GetCustomAttribute(ParameterInfo, Type)
    Attribute.GetCustomAttribute(ParameterInfo, Type, Boolean)
    Attribute.GetCustomAttributes(Assembly)
    Attribute.GetCustomAttributes(Assembly, Boolean)
    Attribute.GetCustomAttributes(Assembly, Type)
    Attribute.GetCustomAttributes(Assembly, Type, Boolean)
    Attribute.GetCustomAttributes(MemberInfo)
    Attribute.GetCustomAttributes(MemberInfo, Boolean)
    Attribute.GetCustomAttributes(MemberInfo, Type)
    Attribute.GetCustomAttributes(MemberInfo, Type, Boolean)
    Attribute.GetCustomAttributes(Module)
    Attribute.GetCustomAttributes(Module, Boolean)
    Attribute.GetCustomAttributes(Module, Type)
    Attribute.GetCustomAttributes(Module, Type, Boolean)
    Attribute.GetCustomAttributes(ParameterInfo)
    Attribute.GetCustomAttributes(ParameterInfo, Boolean)
    Attribute.GetCustomAttributes(ParameterInfo, Type)
    Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean)
    Attribute.GetHashCode()
    Attribute.IsDefaultAttribute()
    Attribute.IsDefined(Assembly, Type)
    Attribute.IsDefined(Assembly, Type, Boolean)
    Attribute.IsDefined(MemberInfo, Type)
    Attribute.IsDefined(MemberInfo, Type, Boolean)
    Attribute.IsDefined(Module, Type)
    Attribute.IsDefined(Module, Type, Boolean)
    Attribute.IsDefined(ParameterInfo, Type)
    Attribute.IsDefined(ParameterInfo, Type, Boolean)
    Attribute.Match(Object)
    Attribute.TypeId
    Object.Equals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: SimpleResults
    Assembly: SimpleResults.AspNetCore.dll
    Syntax
    public class TranslateResultToActionResultAttribute : ActionFilterAttribute, IActionFilter, IAsyncActionFilter, IResultFilter, IAsyncResultFilter, IOrderedFilter, IFilterMetadata

    Methods

    Name Description
    OnActionExecuted(ActionExecutedContext)

    Translates the Result object into a corresponding HTTP status code. This translation occurs after a controller action is executed.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright ©2023 SimpleResults