C# Class Shaml.Core.NHibernateValidator.CommonValidatorAdapter.Validator

Provides an implementation of the CommonValidator.IValidator interface which relies on NHibernate validator
Inheritance: Shaml.Core.CommonValidator.IValidator
Mostra file Open project: sztupy/shaml Class Usage Examples

Private Properties

Property Type Description
ParseValidationResultsFrom ICollection
Validator System

Public Methods

Method Description
IsValid ( object value ) : bool
ValidationResultsFor ( object value ) : ICollection

Private Methods

Method Description
ParseValidationResultsFrom ( NHibernate.Validator.Engine.InvalidValue invalidValues ) : ICollection
Validator ( ) : System

Method Details

IsValid() public method

public IsValid ( object value ) : bool
value object
return bool

ValidationResultsFor() public method

public ValidationResultsFor ( object value ) : ICollection
value object
return ICollection