Click or drag to resize

IValidatable Interface

IValidatable is an interface that declares that an object knows how to check itself for internal consistency errors, report the errors and possibly repair them.

Namespace:  Atalasoft.Shared.Validation
Assembly:  Atalasoft.Shared (in Atalasoft.Shared.dll) Version: (.NET 4.5.2, x86)
public interface IValidatable

The IValidatable type exposes the following members.

Public methodMakeRepairContext
Makes the repair context for repairing problems in this object. An object implementing IValidatable should at least return an empty RepairContext object.
Public methodValidate
Validates the object and accumulates any problems in the problems list.
See Also