18Jun/120
Simple.Validation 0.5.0 Released
New Feature
Message() method has been overloaded to accept a function to build the validation message while the object/property is being validated.
Example:
var validator = Properties<Employee>
.For(e => e.FirstName)
.Required()
.Message((context, value) =>
{
customMessage = string.Format("Custom Message format '{0}'", value);
return customMessage;
});
