C# Class Yea.Infrastructure.Rule.Rules.EqualsRule

Inheritance: AbstractRule
显示文件 Open project: OxPatient/Rule-Engine

Public Methods

Method Description
EqualsRule ( ) : System
EqualsRule ( string propertyName, Type type, object value ) : System
GetOperation ( ) : string

Protected Methods

Method Description
EvaluateInternal ( object propValue, object expectedValue ) : bool

Method Details

EqualsRule() public method

public EqualsRule ( ) : System
return System

EqualsRule() public method

public EqualsRule ( string propertyName, Type type, object value ) : System
propertyName string
type System.Type
value object
return System

EvaluateInternal() protected method

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

GetOperation() public method

public GetOperation ( ) : string
return string