C# Class SpecExpress.PropertyValidator

Afficher le fichier Open project: rbell/SpecExpress Class Usage Examples

Méthodes publiques

Méthode Description
GetValueForProperty ( object instance ) : object
Validate ( object instance, RuleValidatorContext parentRuleContexts, SpecificationContainer specificationContainer, ValidationNotification notification ) : bool
Validate ( object instance, SpecificationContainer specificationContainer, ValidationNotification notification ) : bool

Méthodes protégées

Méthode Description
PropertyValidator ( Type entityType, Type propertyType ) : System

Private Methods

Méthode Description
BuildPropertyDelegate ( ) : Delegate
GetFirstMemberCallFromCallArguments ( MethodCallExpression exp ) : MemberInfo

Method Details

GetValueForProperty() public méthode

public GetValueForProperty ( object instance ) : object
instance object
Résultat object

PropertyValidator() protected méthode

protected PropertyValidator ( Type entityType, Type propertyType ) : System
entityType System.Type
propertyType System.Type
Résultat System

Validate() public abstract méthode

public abstract Validate ( object instance, RuleValidatorContext parentRuleContexts, SpecificationContainer specificationContainer, ValidationNotification notification ) : bool
instance object
parentRuleContexts SpecExpress.Rules.RuleValidatorContext
specificationContainer SpecificationContainer
notification ValidationNotification
Résultat bool

Validate() public abstract méthode

public abstract Validate ( object instance, SpecificationContainer specificationContainer, ValidationNotification notification ) : bool
instance object
specificationContainer SpecificationContainer
notification ValidationNotification
Résultat bool