Method Add
| Improve this Doc View SourceAdd(ValidationError)
Adds a ValidationError object into the collection.
Declaration
IValidationErrors Add(ValidationError value)
Parameters
Type | Name | Description |
---|---|---|
ValidationError | value | The value to add. |
Returns
Type | Description |
---|---|
IValidationErrors | Current collection if it's mutable, otherwise a new collection will be created and returned. |