Search Results for

    Show / Hide Table of Contents

    Interface IPostProcessorContext<TRequest, TResponse>

    defines the generic interface for a post-processor context with specific types for the request and response.

    Inherited Members
    IPostProcessorContext.HttpContext
    IPostProcessorContext.ValidationFailures
    IPostProcessorContext.ExceptionDispatchInfo
    IPostProcessorContext.HasExceptionOccurred
    IPostProcessorContext.HasValidationFailures
    IPostProcessorContext.MarkExceptionAsHandled()
    Namespace: FastEndpoints
    Assembly: FastEndpoints.dll
    Syntax
    public interface IPostProcessorContext<out TRequest, out TResponse> : IPostProcessorContext
    Type Parameters
    Name Description
    TRequest

    the type of the request object, which must be non-nullable.

    TResponse

    the type of the response object.

    Properties

    Request

    gets the request object of the generic type TRequest, which may be null if request binding has failed. this hides the non-generic version from IPostProcessorContext.

    Declaration
    TRequest? Request { get; }
    Property Value
    Type Description
    TRequest

    Response

    gets the response object of the generic type TResponse, which may be null if the response is not available. this hides the non-generic version from IPostProcessorContext.

    Declaration
    TResponse? Response { get; }
    Property Value
    Type Description
    TResponse
    In this article
    Back to top Developed by Đĵ ΝιΓΞΗΛψΚ and contributors / Licensed under MIT / Website generated by DocFX