Method Add
| Improve this Doc View SourceAdd(ScalarValidationError)
Adds the specified error into this collection.
Declaration
IScalarValidationErrors Add(ScalarValidationError value)
Parameters
Type | Name | Description |
---|---|---|
ScalarValidationError | value | The error to add. |
Returns
Type | Description |
---|---|
IScalarValidationErrors | A new set if there is any modification to current sealed collection; otherwise, the current collection. |