C# 클래스 Guidelines.Core.Validation.DataAnnotationsEngine

상속: IValidationEngine
파일 보기 프로젝트 열기: basicdays/Guidelines 1 사용 예제들

공개 메소드들

메소드 설명
DataAnnotationsEngine ( IServiceContainer container, IMapper mapper ) : System.Collections.Generic
IsValid ( object instance ) : bool
IsValid ( object instance, IEnumerable &results ) : bool
Validate ( IEnumerable instances ) : void
Validate ( object instance ) : void

메소드 상세

DataAnnotationsEngine() 공개 메소드

public DataAnnotationsEngine ( IServiceContainer container, IMapper mapper ) : System.Collections.Generic
container IServiceContainer
mapper IMapper
리턴 System.Collections.Generic

IsValid() 공개 메소드

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

IsValid() 공개 메소드

public IsValid ( object instance, IEnumerable &results ) : bool
instance object
results IEnumerable
리턴 bool

Validate() 공개 메소드

public Validate ( IEnumerable instances ) : void
instances IEnumerable
리턴 void

Validate() 공개 메소드

public Validate ( object instance ) : void
instance object
리턴 void