Skip to content
crmckenzie edited this page Mar 28, 2012 · 1 revision

IValidator returns an Enumerable of ValidationResults. Each validation result has some useful properties.

Property Name Description Default Value
PropertyName The name of the property being validated. Can be null.
Type This is a field for an arbitrary result type. It is not required.
Severity Error, Warning, or Informational Error
Message A message indicating the nature of the result Empty string
Context The object that was validated null