C# Class Metsys.Validate.Validators.StringLengthValidator

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

Public Properties

Property Type Description
_minimumLength int?

Public Methods

Method Description
IsValid ( object value, object container ) : bool
StringLengthValidator ( int minimumLength, int maximumLength ) : System.Collections.Generic
ToJson ( ) : string>>.IEnumerable

Method Details

IsValid() public method

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

StringLengthValidator() public method

public StringLengthValidator ( int minimumLength, int maximumLength ) : System.Collections.Generic
minimumLength int
maximumLength int
return System.Collections.Generic

ToJson() public method

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

Property Details

_minimumLength public property

public int? _minimumLength
return int?