andrebaltieri / FluentValidator

Fluent Validator is a fluent way to use Notification Pattern with your entities
122 stars 40 forks source link

Changes to reduce code on get name and property value, RequireValidationOf, Starting Test Project and more #2

Closed tiagopsilva closed 7 years ago

tiagopsilva commented 7 years ago

Changes to reduce code on get name and property value, RequireValidationOf, Starting Test Project and more

  1. In ValidationContract added: -> GetPropertyResolver: To reduce code by getting value and name of property; -> RequireValidationOf: To get notifications from others Notifiables properties; -> Generic IsRequired: To enable required validation from other types of properties; -> Validation methods for nullable DateTime
  2. Added PropertyResolver.cs to help resolve property name and value
  3. Added start Test project