Summary
Captures the validation exception
- Assembly
- Rocket
.Surgery .AspNetCore .FluentValidation .dll - Namespace
- Rocket
.Surgery .AspNetCore .FluentValidation - Interfaces
-
- IExceptionFilter
- IFilterMetadata
- I
Async Exception Filter
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type-.->Interface0["IExceptionFilter"]
Type-.->Interface1["IFilterMetadata"]
Type-.->Interface2["IAsyncExceptionFilter"]
Type["ValidationExceptionFilter"]
class Type type-node
Syntax
public class ValidationExceptionFilter : IExceptionFilter, IFilterMetadata, IAsyncExceptionFilter
Constructors
| Name | Summary |
|---|---|
| Validation |
Methods
| Name | Value | Summary |
|---|---|---|
| OnException |
void | |
| OnExceptionAsync |
Task |
Extension Methods
| Name | Value | Summary |
|---|---|---|
| SetBackingValue |
T |
Sets the backing value.
From ValueExtensions
|
| With |
TBuilder |
Adds the specified dictionary to the provided dictionary.
|
