HandleComparer HandleComparer HandleComparer HandleComparer Class

定义

public ref class HandleComparer sealed : System::Collections::Generic::IComparer<System::Reflection::Metadata::EntityHandle>, System::Collections::Generic::IComparer<System::Reflection::Metadata::Handle>, System::Collections::Generic::IEqualityComparer<System::Reflection::Metadata::EntityHandle>, System::Collections::Generic::IEqualityComparer<System::Reflection::Metadata::Handle>
public sealed class HandleComparer : System.Collections.Generic.IComparer<System.Reflection.Metadata.EntityHandle>, System.Collections.Generic.IComparer<System.Reflection.Metadata.Handle>, System.Collections.Generic.IEqualityComparer<System.Reflection.Metadata.EntityHandle>, System.Collections.Generic.IEqualityComparer<System.Reflection.Metadata.Handle>
type HandleComparer = class
    interface IComparer<EntityHandle>
    interface IComparer<Handle>
    interface IEqualityComparer<EntityHandle>
    interface IEqualityComparer<Handle>
Public NotInheritable Class HandleComparer
Implements IComparer(Of EntityHandle), IComparer(Of Handle), IEqualityComparer(Of EntityHandle), IEqualityComparer(Of Handle)
继承
HandleComparerHandleComparerHandleComparerHandleComparer
实现

属性

Default Default Default Default

方法

Compare(EntityHandle, EntityHandle) Compare(EntityHandle, EntityHandle) Compare(EntityHandle, EntityHandle) Compare(EntityHandle, EntityHandle)

比较两个实体句柄。Compares two entity handles.

Compare(Handle, Handle) Compare(Handle, Handle) Compare(Handle, Handle) Compare(Handle, Handle)

比较两个句柄。Compares two handles.

Equals(EntityHandle, EntityHandle) Equals(EntityHandle, EntityHandle) Equals(EntityHandle, EntityHandle) Equals(EntityHandle, EntityHandle)
Equals(Handle, Handle) Equals(Handle, Handle) Equals(Handle, Handle) Equals(Handle, Handle)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(Inherited from Object)
GetHashCode(EntityHandle) GetHashCode(EntityHandle) GetHashCode(EntityHandle) GetHashCode(EntityHandle)
GetHashCode(Handle) GetHashCode(Handle) GetHashCode(Handle) GetHashCode(Handle)
GetType() GetType() GetType() GetType()

获取当前实例的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)

适用于