Interface IPreProcessorContext
defines the basic interface for a pre-processor context, containing essential properties to access request, and associated processing details.
Namespace: FastEndpoints
Assembly: FastEndpoints.dll
Syntax
public interface IPreProcessorContext
Properties
HasValidationFailures
determines if any validation failures have occurred during processing.
Declaration
bool HasValidationFailures { get; }
Property Value
Type | Description |
---|---|
bool |
HttpContext
gets the HttpContext associated with the current request.
Declaration
HttpContext HttpContext { get; }
Property Value
Type | Description |
---|---|
HttpContext |
Request
gets the request object.
Declaration
object Request { get; }
Property Value
Type | Description |
---|---|
object |
ValidationFailures
gets a collection of FluentValidation.Results.ValidationFailure that occurred during processing.
Declaration
List<ValidationFailure> ValidationFailures { get; }
Property Value
Type | Description |
---|---|
List<ValidationFailure> |