C# Class NSoft.NFramework.ValueObjectEqualityComparer

IValueObject의 인스턴스들이 같은지 비교합니다. 비교 방법은 HashCode 값이 같은지를 비교합니다.
FluentNHibernate의 PersistenceSpecification에서 속성 값 비교를 위해 사용됩니다.
참고 : http://wiki.fluentnhibernate.org/Persistence_specification_testing#Testing_references
Inheritance: IEqualityComparer
显示文件 Open project: debop/NFramework

Public Methods

Method Description
Equals ( object x, object y ) : bool
GetHashCode ( object obj ) : int

Method Details

Equals() public method

public Equals ( object x, object y ) : bool
x object
y object
return bool

GetHashCode() public method

public GetHashCode ( object obj ) : int
obj object
return int