C# Class Metsys.Validate.RuleConfiguration

Inheritance: IRuleConfiguration
ファイルを表示 Open project: karlseguin/Metsys.Validate

Protected Properties

Property Type Description
_data PropertyValidatorData

Public Methods

Method Description
Between ( int minimum, int maximum ) : IRuleConfiguration
Between ( int minimum, int maximum, bool inclusive ) : IRuleConfiguration
EqualTo ( object o ) : IRuleConfiguration
Length ( int minimum ) : IRuleConfiguration
Length ( int minimum, int maximum ) : IRuleConfiguration
Pattern ( Regex pattern ) : IRuleConfiguration
Pattern ( ValidationPattern pattern ) : IRuleConfiguration
Pattern ( string pattern ) : IRuleConfiguration
Required ( ) : IRuleConfiguration
WithMessage ( string message ) : IRuleConfiguration

Private Methods

Method Description
RuleConfiguration ( PropertyValidatorData data ) : System

Method Details

Between() public method

public Between ( int minimum, int maximum ) : IRuleConfiguration
minimum int
maximum int
return IRuleConfiguration

Between() public method

public Between ( int minimum, int maximum, bool inclusive ) : IRuleConfiguration
minimum int
maximum int
inclusive bool
return IRuleConfiguration

EqualTo() public method

public EqualTo ( object o ) : IRuleConfiguration
o object
return IRuleConfiguration

Length() public method

public Length ( int minimum ) : IRuleConfiguration
minimum int
return IRuleConfiguration

Length() public method

public Length ( int minimum, int maximum ) : IRuleConfiguration
minimum int
maximum int
return IRuleConfiguration

Pattern() public method

public Pattern ( Regex pattern ) : IRuleConfiguration
pattern System.Text.RegularExpressions.Regex
return IRuleConfiguration

Pattern() public method

public Pattern ( ValidationPattern pattern ) : IRuleConfiguration
pattern ValidationPattern
return IRuleConfiguration

Pattern() public method

public Pattern ( string pattern ) : IRuleConfiguration
pattern string
return IRuleConfiguration

Required() public method

public Required ( ) : IRuleConfiguration
return IRuleConfiguration

WithMessage() public method

public WithMessage ( string message ) : IRuleConfiguration
message string
return IRuleConfiguration

Property Details

_data protected_oe property

protected PropertyValidatorData,Metsys.Validate _data
return PropertyValidatorData