C# Class Yea.Infrastructure.Rule.AbstractRule

Inheritance: IRule
Datei anzeigen Open project: OxPatient/Rule-Engine

Protected Properties

Property Type Description
DelegateRule System.Delegate

Public Methods

Method Description
Evaluate ( object instance ) : bool
GetOperation ( ) : string
ToString ( ) : string

Protected Methods

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

Private Methods

Method Description
VisitProperties ( Type modelType, string propertyName ) : Delegate

Method Details

AbstractRule() protected method

protected AbstractRule ( ) : System
return System

AbstractRule() protected method

protected AbstractRule ( string propertyName, Type type, object expectedValue ) : System
propertyName string
type System.Type
expectedValue object
return System

Evaluate() public method

public Evaluate ( object instance ) : bool
instance object
return bool

EvaluateInternal() protected abstract method

protected abstract EvaluateInternal ( object propValue, object expectedValue ) : bool
propValue object
expectedValue object
return bool

GetOperation() public abstract method

public abstract GetOperation ( ) : string
return string

ToString() public method

public ToString ( ) : string
return string

Property Details

DelegateRule protected_oe property

protected Delegate,System DelegateRule
return System.Delegate