Interface IObjectValidator
Assembly: Volo.Abp.Validation.dll
Syntax
public interface IObjectValidator
Methods
GetErrors(Object, String, Boolean)
Declaration
List<ValidationResult> GetErrors(object validatingObject, string name = null, bool allowNull = false)
Parameters
Type |
Name |
Description |
System.Object |
validatingObject |
|
System.String |
name |
|
System.Boolean |
allowNull |
|
Returns
Type |
Description |
List<ValidationResult> |
|
Validate(Object, String, Boolean)
Declaration
void Validate(object validatingObject, string name = null, bool allowNull = false)
Parameters
Type |
Name |
Description |
System.Object |
validatingObject |
|
System.String |
name |
|
System.Boolean |
allowNull |
|
Extension Methods