Search Results for

    Show / Hide Table of Contents

    Class PreProcessorContext<TRequest>

    represents the context for a pre-processing operation with a request.

    Inheritance
    object
    PreProcessorContext<TRequest>
    Implements
    IPreProcessorContext<TRequest>
    IPreProcessorContext
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: FastEndpoints
    Assembly: FastEndpoints.dll
    Syntax
    public sealed class PreProcessorContext<TRequest> : IPreProcessorContext<TRequest>, IPreProcessorContext
    Type Parameters
    Name Description
    TRequest

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

    Properties

    HttpContext

    gets the HttpContext associated with the current request.

    Declaration
    public HttpContext HttpContext { get; init; }
    Property Value
    Type Description
    HttpContext

    Request

    gets the request associated with the pre-processing context. may be null if model binding has failed.

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

    ValidationFailures

    gets a collection of FluentValidation.Results.ValidationFailure instances that describe any validation failures.

    Declaration
    public List<ValidationFailure> ValidationFailures { get; init; }
    Property Value
    Type Description
    List<ValidationFailure>

    Implements

    IPreProcessorContext<TRequest>
    IPreProcessorContext
    In this article
    Back to top Developed by Đĵ ΝιΓΞΗΛψΚ and contributors / Licensed under MIT / Website generated by DocFX