C# 클래스 CavemanTools.Model.Validation.ValidationBag

Used to centralize multiple validations
파일 보기 프로젝트 열기: sapiens/cavemantools 1 사용 예제들

공개 메소드들

메소드 설명
Add ( bool value ) : void

Adds validation result

AtLeastOneIs ( bool value ) : bool
ValidationBag ( ) : System.Collections.Generic

DEfault validation state is invalid

ValidationBag ( bool init ) : System.Collections.Generic

메소드 상세

Add() 공개 메소드

Adds validation result
public Add ( bool value ) : void
value bool
리턴 void

AtLeastOneIs() 공개 메소드

public AtLeastOneIs ( bool value ) : bool
value bool
리턴 bool

ValidationBag() 공개 메소드

DEfault validation state is invalid
public ValidationBag ( ) : System.Collections.Generic
리턴 System.Collections.Generic

ValidationBag() 공개 메소드

public ValidationBag ( bool init ) : System.Collections.Generic
init bool State of bag: valid or invalid
리턴 System.Collections.Generic