C# 클래스 DomainDrivenDelivery.Utilities.IDKey

Wrap an identity key (Object.GetHashCode()) so that an object can only be Equal() to itself. This is necessary to disambiguate the occasional duplicate identityHashCodes that can occur.
파일 보기 프로젝트 열기: awhatley/dddsample.net 1 사용 예제들

공개 메소드들

메소드 설명
Equals ( object other ) : bool
GetHashCode ( ) : int
IDKey ( object _value )

메소드 상세

Equals() 공개 메소드

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

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

IDKey() 공개 메소드

public IDKey ( object _value )
_value object