C# 클래스 Treefrog.Windows.Controllers.ValidationController

상속: IDisposable
파일 보기 프로젝트 열기: jaquadro/Treefrog 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void
RegisterControl ( Control control, Func validationFunc ) : void
RegisterValidationFunc ( Func validationFunc ) : void
UnregisterControl ( Control control ) : void
UnregisterValidationFunc ( Func validationFunc ) : void
Validate ( ) : void
ValidateForm ( ) : bool
ValidateGreater ( string fieldName, NumericUpDown control, string refName, NumericUpDown reference ) : Func
ValidateGreaterEq ( string fieldName, NumericUpDown control, string refName, NumericUpDown reference ) : Func
ValidateLess ( string fieldName, NumericUpDown control, string refName, NumericUpDown reference ) : Func
ValidateLessEq ( string fieldName, NumericUpDown control, string refName, NumericUpDown reference ) : Func
ValidateNonEmptyName ( string fieldName, TextBox control, IEnumerable reservedNames ) : Func
ValidateNumericUpDownFunc ( string fieldName, NumericUpDown control ) : Func

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
DetermineErrorIconPadding ( Control control ) : int
EnableButtons ( bool enable ) : void

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

RegisterControl() 공개 메소드

public RegisterControl ( Control control, Func validationFunc ) : void
control System.Windows.Forms.Control
validationFunc Func
리턴 void

RegisterValidationFunc() 공개 메소드

public RegisterValidationFunc ( Func validationFunc ) : void
validationFunc Func
리턴 void

UnregisterControl() 공개 메소드

public UnregisterControl ( Control control ) : void
control System.Windows.Forms.Control
리턴 void

UnregisterValidationFunc() 공개 메소드

public UnregisterValidationFunc ( Func validationFunc ) : void
validationFunc Func
리턴 void

Validate() 공개 메소드

public Validate ( ) : void
리턴 void

ValidateForm() 공개 메소드

public ValidateForm ( ) : bool
리턴 bool

ValidateGreater() 공개 정적인 메소드

public static ValidateGreater ( string fieldName, NumericUpDown control, string refName, NumericUpDown reference ) : Func
fieldName string
control System.Windows.Forms.NumericUpDown
refName string
reference System.Windows.Forms.NumericUpDown
리턴 Func

ValidateGreaterEq() 공개 정적인 메소드

public static ValidateGreaterEq ( string fieldName, NumericUpDown control, string refName, NumericUpDown reference ) : Func
fieldName string
control System.Windows.Forms.NumericUpDown
refName string
reference System.Windows.Forms.NumericUpDown
리턴 Func

ValidateLess() 공개 정적인 메소드

public static ValidateLess ( string fieldName, NumericUpDown control, string refName, NumericUpDown reference ) : Func
fieldName string
control System.Windows.Forms.NumericUpDown
refName string
reference System.Windows.Forms.NumericUpDown
리턴 Func

ValidateLessEq() 공개 정적인 메소드

public static ValidateLessEq ( string fieldName, NumericUpDown control, string refName, NumericUpDown reference ) : Func
fieldName string
control System.Windows.Forms.NumericUpDown
refName string
reference System.Windows.Forms.NumericUpDown
리턴 Func

ValidateNonEmptyName() 공개 정적인 메소드

public static ValidateNonEmptyName ( string fieldName, TextBox control, IEnumerable reservedNames ) : Func
fieldName string
control System.Windows.Forms.TextBox
reservedNames IEnumerable
리턴 Func

ValidateNumericUpDownFunc() 공개 정적인 메소드

public static ValidateNumericUpDownFunc ( string fieldName, NumericUpDown control ) : Func
fieldName string
control System.Windows.Forms.NumericUpDown
리턴 Func