C# 클래스 Castle.Components.Validator.NullableDateTimeValidator

This is a meta validator. It is only useful to test a source content before setting it on the target instance.
상속: AbstractValidator
파일 보기 프로젝트 열기: nats/castle-1.0.3-mono

공개 메소드들

메소드 설명
IsValid ( object instance, object fieldValue ) : bool

Checks if the fieldValue can be converted to a valid DateTime. Null or empty value allowed.

메소드 상세

IsValid() 공개 메소드

Checks if the fieldValue can be converted to a valid DateTime. Null or empty value allowed.
public IsValid ( object instance, object fieldValue ) : bool
instance object The target type instance
fieldValue object The property/field value. It can be null.
리턴 bool