C# Класс SharpArch.Domain.DomainModel.ValueObject

Наследование: BaseObject
Показать файл Открыть проект

Открытые методы

Метод Описание
Equals ( object obj ) : bool

Determines whether the specified Object is equal to this instance.

GetHashCode ( ) : int

Returns a hash code for this instance.

This is used to provide the hash code identifier of an object using the signature properties of the object; although it's necessary for NHibernate's use, this can also be useful for business logic purposes and has been included in this base class, accordingly. Since it is recommended that GetHashCode change infrequently, if at all, in an object's lifetime, it's important that properties are carefully selected which truly represent the signature of an object.

operator ( ) : bool

Implements the != operator.

Защищенные методы

Метод Описание
GetTypeSpecificSignatureProperties ( ) : System.Reflection.PropertyInfo[]

Returns the signature properties that are specific to the type of the current object.

Описание методов

Equals() публичный Метод

Determines whether the specified Object is equal to this instance.
public Equals ( object obj ) : bool
obj object The to compare with the current .
Результат bool

GetHashCode() публичный Метод

Returns a hash code for this instance.
This is used to provide the hash code identifier of an object using the signature properties of the object; although it's necessary for NHibernate's use, this can also be useful for business logic purposes and has been included in this base class, accordingly. Since it is recommended that GetHashCode change infrequently, if at all, in an object's lifetime, it's important that properties are carefully selected which truly represent the signature of an object.
public GetHashCode ( ) : int
Результат int

GetTypeSpecificSignatureProperties() защищенный Метод

Returns the signature properties that are specific to the type of the current object.
ValueObject has properties marked with
protected GetTypeSpecificSignatureProperties ( ) : System.Reflection.PropertyInfo[]
Результат System.Reflection.PropertyInfo[]

operator() публичный статический Метод

Implements the != operator.
public static operator ( ) : bool
Результат bool