C# Class Yea.Infrastructure.Rule.AbstractRule

Inheritance: IRule
Afficher le fichier Open project: OxPatient/Rule-Engine

Protected Properties

Свойство Type Description
DelegateRule System.Delegate

Méthodes publiques

Méthode Description
Evaluate ( object instance ) : bool
GetOperation ( ) : string
ToString ( ) : string

Méthodes protégées

Méthode Description
AbstractRule ( ) : System
AbstractRule ( string propertyName, Type type, object expectedValue ) : System
EvaluateInternal ( object propValue, object expectedValue ) : bool

Private Methods

Méthode Description
VisitProperties ( Type modelType, string propertyName ) : Delegate

Method Details

AbstractRule() protected méthode

protected AbstractRule ( ) : System
Résultat System

AbstractRule() protected méthode

protected AbstractRule ( string propertyName, Type type, object expectedValue ) : System
propertyName string
type System.Type
expectedValue object
Résultat System

Evaluate() public méthode

public Evaluate ( object instance ) : bool
instance object
Résultat bool

EvaluateInternal() protected abstract méthode

protected abstract EvaluateInternal ( object propValue, object expectedValue ) : bool
propValue object
expectedValue object
Résultat bool

GetOperation() public abstract méthode

public abstract GetOperation ( ) : string
Résultat string

ToString() public méthode

public ToString ( ) : string
Résultat string

Property Details

DelegateRule protected_oe property

protected Delegate,System DelegateRule
Résultat System.Delegate