Compares IdentityDescriptor objects.
Inheritance Hierarchy
System.Object
  Microsoft.TeamFoundation.Framework.Client.IdentityDescriptorComparer
Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Class IdentityDescriptorComparer _
    Implements IComparer(Of IdentityDescriptor), IEqualityComparer(Of IdentityDescriptor)
public class IdentityDescriptorComparer : IComparer<IdentityDescriptor>, 
    IEqualityComparer<IdentityDescriptor>
public ref class IdentityDescriptorComparer : IComparer<IdentityDescriptor^>, 
    IEqualityComparer<IdentityDescriptor^>
type IdentityDescriptorComparer =  
    class 
        interface IComparer<IdentityDescriptor>
        interface IEqualityComparer<IdentityDescriptor>
    end
public class IdentityDescriptorComparer implements IComparer<IdentityDescriptor>, IEqualityComparer<IdentityDescriptor>
The IdentityDescriptorComparer type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) .gif) | Instance | Gets this IdentityDescriptorComparer instance. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Compare | Compares two identity descriptors for equivalence. | 
| .gif) | Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) | 
| .gif) | Equals(IdentityDescriptor, IdentityDescriptor) | Checks whether two IdentityDescriptor instances are equal. | 
| .gif) | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | 
| .gif) | GetHashCode() | Serves as the default hash function. (Inherited from Object.) | 
| .gif) | GetHashCode(IdentityDescriptor) | Gets the hash code of the specified identity descriptor. | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | ToString | Returns a string that represents the current object. (Inherited from Object.) | 
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.