IdentityDescriptorComparer Class

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
Public propertyStatic member Instance Gets this IdentityDescriptorComparer instance.

Top

Methods

  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.)

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.

See Also

Reference

Microsoft.TeamFoundation.Framework.Client Namespace