Interface IValidatorCollection
- Namespace
- MADE.Data.Validation
- Assembly
- MADE.Data.Validation.dll
Defines an interface for a collection of validators.
public interface IValidatorCollection : IList, ICollection, IEnumerable
- Inherited Members
- Extension Methods
Properties
FeedbackMessages
Gets the validator feedback messages for ones which are invalid.
IEnumerable<string> FeedbackMessages { get; }
Property Value
IsDirty
Gets or sets a value indicating whether the data is dirty.
bool IsDirty { get; set; }
Property Value
IsInvalid
Gets or sets a value indicating whether the data provided is in an invalid state.
bool IsInvalid { get; set; }
Property Value
Methods
Validate(object)
Executes data validation on the provided value against the validators provided.
void Validate(object value)
Parameters
valueobjectThe value to be validated.