DiffSummary Class
A summary of the differences between two files
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.VersionControl.Common.DiffSummary
Namespace: Microsoft.TeamFoundation.VersionControl.Common
Assembly: Microsoft.TeamFoundation.VersionControl.Common (in Microsoft.TeamFoundation.VersionControl.Common.dll)
Syntax
'Declaration
Public Class DiffSummary
public class DiffSummary
public ref class DiffSummary
type DiffSummary = class end
public class DiffSummary
The DiffSummary type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DiffSummary(DiffFile, DiffFile, array<IDiffChange[], Boolean) | Constructs a new DiffSummary from the given files and diff change list. The diff change list will be included in the summary if it is requested. | |
DiffSummary(Int32, Int32, Int32, Int32, Int32) | Creates a DiffSummary with the given values |
Top
Properties
Name | Description | |
---|---|---|
Changes | The list of changes | |
ModifiedLineCount | The number of lines in the modified file | |
OriginalLineCount | The number of lines in the original file | |
TotalLinesAdded | The total number of lines that were added | |
TotalLinesDeleted | The total number of lines that were deleted | |
TotalLinesModified | The total number of lines that were modified |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
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.) | |
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 the DiffSummary as a string (Overrides Object.ToString().) |
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.