DiffSummary Class

A summary of the differences between two files


Namespace:  Microsoft.TeamFoundation.VersionControl.Common
Assembly:  Microsoft.TeamFoundation.VersionControl.Common (in Microsoft.TeamFoundation.VersionControl.Common.dll)

public class DiffSummary

The DiffSummary type exposes the following members.

Public methodDiffSummary(DiffFile, DiffFile, 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.
Public methodDiffSummary(Int32, Int32, Int32, Int32, Int32)Creates a DiffSummary with the given values

Public propertyChangesThe list of changes
Public propertyModifiedLineCountThe number of lines in the modified file
Public propertyOriginalLineCountThe number of lines in the original file
Public propertyTotalLinesAddedThe total number of lines that were added
Public propertyTotalLinesDeletedThe total number of lines that were deleted
Public propertyTotalLinesModifiedThe total number of lines that were modified

Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns the DiffSummary as a string (Overrides Object.ToString().)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.