C# Class 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.
Afficher le fichier Open project: awhatley/dddsample.net Class Usage Examples

Méthodes publiques

Méthode Description
Equals ( object other ) : bool
GetHashCode ( ) : int
IDKey ( object _value )

Method Details

Equals() public méthode

public Equals ( object other ) : bool
other object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

IDKey() public méthode

public IDKey ( object _value )
_value object