C# Class FluentValidation.Validators.GreaterThanValidator

Inheritance: FluentValidation.Validators.AbstractComparisonValidator
显示文件 Open project: JeremySkinner/FluentValidation

Public Methods

Method Description
GreaterThanValidator ( object>.Func valueToCompareFunc, MemberInfo member ) : System
GreaterThanValidator ( IComparable value ) : System
IsValid ( IComparable value, IComparable valueToCompare ) : bool

Method Details

GreaterThanValidator() public method

public GreaterThanValidator ( object>.Func valueToCompareFunc, MemberInfo member ) : System
valueToCompareFunc object>.Func
member System.Reflection.MemberInfo
return System

GreaterThanValidator() public method

public GreaterThanValidator ( IComparable value ) : System
value IComparable
return System

IsValid() public method

public IsValid ( IComparable value, IComparable valueToCompare ) : bool
value IComparable
valueToCompare IComparable
return bool