C# Class Metsys.Validate.Validators.CannedPatternValidator

Inheritance: IValidator, IDoJavascript
Show file Open project: karlseguin/Metsys.Validate

Public Methods

Method Description
CannedPatternValidator ( ValidationPattern pattern ) : System.Collections.Generic
IsValid ( object value, object container ) : bool
ToJson ( ) : string>>.IEnumerable

Private Methods

Method Description
IsValidCreditCard ( string @string ) : bool

Method Details

CannedPatternValidator() public method

public CannedPatternValidator ( ValidationPattern pattern ) : System.Collections.Generic
pattern ValidationPattern
return System.Collections.Generic

IsValid() public method

public IsValid ( object value, object container ) : bool
value object
container object
return bool

ToJson() public method

public ToJson ( ) : string>>.IEnumerable
return string>>.IEnumerable