Table of Contents

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

IEnumerable<string>

IsDirty

Gets or sets a value indicating whether the data is dirty.

bool IsDirty { get; set; }

Property Value

bool

IsInvalid

Gets or sets a value indicating whether the data provided is in an invalid state.

bool IsInvalid { get; set; }

Property Value

bool

Methods

Validate(object)

Executes data validation on the provided value against the validators provided.

void Validate(object value)

Parameters

value object

The value to be validated.