IdentityDescriptorComparer Class

Compares IdentityDescriptor objects.

Inheritance Hierarchy


Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)


Public Class IdentityDescriptorComparer _
    Implements IComparer(Of IdentityDescriptor), IEqualityComparer(Of IdentityDescriptor)
public class IdentityDescriptorComparer : IComparer<IdentityDescriptor>, 
public ref class IdentityDescriptorComparer : IComparer<IdentityDescriptor^>, 
type IdentityDescriptorComparer =  
        interface IComparer<IdentityDescriptor>
        interface IEqualityComparer<IdentityDescriptor>
public class IdentityDescriptorComparer implements IComparer<IdentityDescriptor>, IEqualityComparer<IdentityDescriptor>

The IdentityDescriptorComparer type exposes the following members.


  Name Description
Public propertyStatic member Instance Gets this IdentityDescriptorComparer instance.



  Name Description
Public method Compare Compares two identity descriptors for equivalence.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method Equals(IdentityDescriptor, IdentityDescriptor) Checks whether two IdentityDescriptor instances are equal.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode() Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetHashCode(IdentityDescriptor) Gets the hash code of the specified identity descriptor.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)


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.

See Also


Microsoft.TeamFoundation.Framework.Client Namespace