Interface IValidator
Namespace: NineDigit.eKasa.Validation
Assembly: NineDigit.eKasa.dll
Syntax
public interface IValidator
Methods
Validate(Object)
Declaration
ValidationResult Validate(object model)
Parameters
Type | Name | Description |
---|---|---|
System.Object | model |
Returns
Type | Description |
---|---|
ValidationResult |
Validate(Object, String)
Declaration
ValidationResult Validate(object model, string propertyName)
Parameters
Type | Name | Description |
---|---|---|
System.Object | model | |
System.String | propertyName |
Returns
Type | Description |
---|---|
ValidationResult |