Share via


IdentityDescriptorComparer Class

Class used for comparing identity descriptors.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Server.IdentityDescriptorComparer

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.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

Top

Methods

  Name Description
Public method Compare
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method Equals(IdentityDescriptor, IdentityDescriptor)
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)
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.Server Namespace