HandleComparer Class

Definition

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 IEqualityComparer<Handle>
    interface IComparer<Handle>
    interface IEqualityComparer<EntityHandle>
    interface IComparer<EntityHandle>
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)
Inheritance
HandleComparer
Implements

Properties

Default

Methods

Compare(EntityHandle, EntityHandle)

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

Compare(Handle, Handle)

比较两个句柄。Compares two handles.

Equals(EntityHandle, EntityHandle)

确定指定的对象是否相等。Determines whether the specified objects are equal.

Equals(Handle, Handle)

确定指定的对象是否相等。Determines whether the specified objects are equal.

Equals(Object)

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

(Inherited from Object)
GetHashCode()

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

(Inherited from Object)
GetHashCode(EntityHandle)

返回指定对象的哈希代码。Returns a hash code for the specified object.

GetHashCode(Handle)

返回指定对象的哈希代码。Returns a hash code for the specified object.

GetType()

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

(Inherited from Object)
MemberwiseClone()

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

(Inherited from Object)
ToString()

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

(Inherited from Object)

Applies to