T - The metadata typeU - The javascript type which provides the property or objectpublic interface IValidator<T,U>
| Modifier and Type | Method and Description |
|---|---|
ValidationError |
validate(U model,
T value)
Validates the specified value.
|
ValidationError validate(U model, T value)
model - The model object.value - The value of this property for the specified model object.Copyright © 2018. All Rights Reserved.