Method AddValidator
| Improve this Doc View SourceAddValidator(Func<T, String>)
Adds validator.
Declaration
public Scalar<T> AddValidator(Func<T, string> validator)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T, System.String> | validator | The validator. |
Returns
Type | Description |
---|---|
Scalar<T> | This scalar data for fluent coding. |