DiffLineComparer Class
Helper class to compare DiffLines.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.VersionControl.Common.DiffLineComparer
Namespace: Microsoft.TeamFoundation.VersionControl.Common
Assembly: Microsoft.TeamFoundation.VersionControl.Common (in Microsoft.TeamFoundation.VersionControl.Common.dll)
Syntax
'Declaration
Public Class DiffLineComparer _
Implements IEqualityComparer(Of DiffLine)
public class DiffLineComparer : IEqualityComparer<DiffLine>
public ref class DiffLineComparer : IEqualityComparer<DiffLine^>
type DiffLineComparer =
class
interface IEqualityComparer<DiffLine>
end
public class DiffLineComparer implements IEqualityComparer<DiffLine>
The DiffLineComparer type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DiffLineComparer |
Top
Methods
Name | Description | |
---|---|---|
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Equals(Object, Object) | Returns true if the given elements are equal. | |
Equals(DiffLine, DiffLine) | Returns true if the given elements are equal. | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode() | Serves as the default hash function. (Inherited from Object.) | |
GetHashCode(Object) | Provide the hash code for the given DiffElement. | |
GetHashCode(DiffLine) | Provide the hash code for the given DiffElement. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
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.