Summary
A validation error problem
- Assembly
- Rocket
.Surgery .AspNetCore .FluentValidation .dll - Namespace
- Rocket
.Surgery .AspNetCore .FluentValidation - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["FluentValidationProblemDetail"]
class Type type-node
Syntax
public class FluentValidationProblemDetail
Attributes
| Type | Description |
|---|---|
| Nullable |
|
| NullableAttribute | |
| PublicAPIAttribute |
Constructors
| Name | Summary |
|---|---|
| Fluent |
A validation error problem |
Properties
| Name | Value | Summary |
|---|---|---|
| AttemptedValue | object |
The property value that caused the failure.
|
| ErrorCode | string |
Gets or sets the error code.
|
| ErrorMessage | string |
The error message
|
| PropertyName | string |
The name of the property.
|
| Severity | Severity |
Custom severity level associated with the failure.
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| SetBackingValue |
T |
Sets the backing value.
From ValueExtensions
|
| With |
TBuilder |
Adds the specified dictionary to the provided dictionary.
|
