C# 클래스 FluentMetadata.Rules.StringLengthRule

상속: Rule
파일 보기 프로젝트 열기: forger/FluentMetadata 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
FormatErrorMessage ( string name ) : string
IsValid ( object value ) : bool
StringLengthRule ( int maxLength ) : System
StringLengthRule ( int minLength, int maxLength ) : System

보호된 메소드들

메소드 설명
EqualsRule ( Rule rule ) : bool

메소드 상세

EqualsRule() 보호된 메소드

protected EqualsRule ( Rule rule ) : bool
rule Rule
리턴 bool

FormatErrorMessage() 공개 메소드

public FormatErrorMessage ( string name ) : string
name string
리턴 string

IsValid() 공개 메소드

public IsValid ( object value ) : bool
value object
리턴 bool

StringLengthRule() 공개 메소드

public StringLengthRule ( int maxLength ) : System
maxLength int
리턴 System

StringLengthRule() 공개 메소드

public StringLengthRule ( int minLength, int maxLength ) : System
minLength int
maxLength int
리턴 System