C# Class FluentValidation.Validators.LengthValidator

Inheritance: PropertyValidator, ILengthValidator
ファイルを表示 Open project: JeremySkinner/FluentValidation

Public Methods

Method Description
LengthValidator ( int>.Func min, int>.Func max ) : System
LengthValidator ( int>.Func min, int>.Func max, string resourceName, Type resourceType ) : System
LengthValidator ( int min, int max ) : System
LengthValidator ( int min, int max, string resourceName, Type resourceType ) : System

Protected Methods

Method Description
IsValid ( PropertyValidatorContext context ) : bool

Method Details

IsValid() protected method

protected IsValid ( PropertyValidatorContext context ) : bool
context PropertyValidatorContext
return bool

LengthValidator() public method

public LengthValidator ( int>.Func min, int>.Func max ) : System
min int>.Func
max int>.Func
return System

LengthValidator() public method

public LengthValidator ( int>.Func min, int>.Func max, string resourceName, Type resourceType ) : System
min int>.Func
max int>.Func
resourceName string
resourceType System.Type
return System

LengthValidator() public method

public LengthValidator ( int min, int max ) : System
min int
max int
return System

LengthValidator() public method

public LengthValidator ( int min, int max, string resourceName, Type resourceType ) : System
min int
max int
resourceName string
resourceType System.Type
return System