Interface IValidatorCollection
Defines an interface for a collection of validators.
Namespace: MADE.Data.Validation
Assembly: MADE.Data.Validation.dll
Syntax
public interface IValidatorCollection
Properties
| Improve this Doc View SourceFeedbackMessages
Gets the validator feedback messages for ones which are invalid.
Declaration
IEnumerable<string> FeedbackMessages { get; }
Property Value
Type | Description |
---|---|
IEnumerable<System.String> |
IsDirty
Gets or sets a value indicating whether the data is dirty.
Declaration
bool IsDirty { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsInvalid
Gets or sets a value indicating whether the data provided is in an invalid state.
Declaration
bool IsInvalid { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceValidate(Object)
Executes data validation on the provided value
against the validators provided.
Declaration
void Validate(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The value to be validated. |