C# 클래스 Tests.ValueObjects.DateOfBirth

파일 보기 프로젝트 열기: AdrianFreemantle/DDD 1 사용 예제들

공개 메소드들

메소드 설명
DateOfBirth ( System.DateTime dateOfBith ) : System
Equals ( DateOfBirth other ) : bool
Equals ( object obj ) : bool
GetAgeAtDate ( System.DateTime date ) : PersonAge
GetCurrentAge ( ) : PersonAge
GetHashCode ( ) : int
operator ( ) : bool

메소드 상세

DateOfBirth() 공개 메소드

public DateOfBirth ( System.DateTime dateOfBith ) : System
dateOfBith System.DateTime
리턴 System

Equals() 공개 메소드

public Equals ( DateOfBirth other ) : bool
other DateOfBirth
리턴 bool

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GetAgeAtDate() 공개 메소드

public GetAgeAtDate ( System.DateTime date ) : PersonAge
date System.DateTime
리턴 PersonAge

GetCurrentAge() 공개 메소드

public GetCurrentAge ( ) : PersonAge
리턴 PersonAge

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

operator() 공개 정적인 메소드

public static operator ( ) : bool
리턴 bool