Search Results for

    Show / Hide Table of Contents

    Class TranslateResultToHttpResultFilter

    Translates the Result object to an implementation of IResult.

    Result object can be:

    • Result<T>
    • ListedResult<T>
    • PagedResult<T>
    • Result
    • A subtype of ResultBase.
    Inheritance
    Object
    TranslateResultToHttpResultFilter
    Implements
    IEndpointFilter
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: SimpleResults
    Assembly: SimpleResults.AspNetCore.dll
    Syntax
    public class TranslateResultToHttpResultFilter : IEndpointFilter

    Methods

    Name Description
    InvokeAsync(EndpointFilterInvocationContext, EndpointFilterDelegate)

    Translates the Result object into a corresponding HTTP status code. This translation occurs after an endpoint handler is executed.

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