public sealed class ReferenceEqualityComparer<T> : IEqualityComparer<T>
where T : class
Public NotInheritable Class ReferenceEqualityComparer(Of T As Class)
Implements IEqualityComparer(Of T)
generic<typename T>
where T : ref class
public ref class ReferenceEqualityComparer sealed : IEqualityComparer<T>
[<SealedAttribute>]
type ReferenceEqualityComparer<'T when 'T : not struct> =
class
interface IEqualityComparer<'T>
end
ReferenceEqualityComparerT | Инициализирует новый экземпляр класса ReferenceEqualityComparerT |
Instance | Экземпляр класса. |
Equals(Object) | Determines whether the specified object is equal to the current object. (Унаследован от Object) |
Equals(T, T) | Сравнивает объекты на равенство ссылок. |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Унаследован от Object) |
GetHashCode | Serves as the default hash function. (Унаследован от Object) |
GetHashCode(T) | Возвращает хеш-код объекта. |
GetType | Gets the Type of the current instance. (Унаследован от Object) |
MemberwiseClone | Creates a shallow copy of the current Object. (Унаследован от Object) |
ToString | Returns a string that represents the current object. (Унаследован от Object) |