C# Class Rhino.Mocks.Constraints.AbstractConstraint

Interface for constraints
显示文件 Open project: ayende/rhino-mocks Class Usage Examples

Public Methods

Method Description
Eval ( object obj ) : bool

Determines if the object pass the constraints

operator ( ) : AbstractConstraint

Not operator for constraints

operator ( ) : bool

Allow overriding of || or &&

Method Details

Eval() public abstract method

Determines if the object pass the constraints
public abstract Eval ( object obj ) : bool
obj object
return bool

operator() public static method

Not operator for constraints
public static operator ( ) : AbstractConstraint
return AbstractConstraint

operator() public static method

Allow overriding of || or &&
public static operator ( ) : bool
return bool