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: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public interface IValidatable

The IValidatable type exposes the following members.

Methods
  NameDescription
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.
Top
See Also