Interface IValidator<T>
- Namespace
- Framework.Core.Validation
- Assembly
- Assembly-CSharp.dll
데이터 유효성 검증 계약. 예외 대신 Result로 성공/실패를 표현.
public interface IValidator<T>
Type Parameters
T검증 대상 타입.
Methods
Validate(T)
대상을 검증해 결과 반환.
Result Validate(T target)
Parameters
targetT검증할 객체.
Returns
- Result
성공/실패 및 오류 메시지를 담은 Result.