Microsoft.VisualStudio.Text.Differencing Namespace

Classes

  Class Description
Public class Difference Represents a single difference in the set of differences of two lists of elements.
Public class Match Represents a range of matches between two sequences as a pair of spans of equal length.

Structures

  Structure Description
Public structure StringDifferenceOptions Options to use in calculating string differences.

Interfaces

  Interface Description
Public interface IDifferenceCollection<T> Represents a collection of Difference objects.
Public interface IDifferenceService Determines the differences between two sequences, based on adding or removing elements (but not translating or copying elements).
Public interface IHierarchicalDifferenceCollection Represents a difference collection in which the left and right sequences are ITokenizedStringList objects, and each difference may itself contain an IHierarchicalDifferenceCollection.
Public interface IHierarchicalStringDifferenceService This service has several shortcut methods that compute differences over strings, snapshots, and spans.
Public interface ITokenizedStringList A tokenized representation of a string into abutting and non-overlapping segments.

Delegates

  Delegate Description
Public delegate ContinueProcessingPredicate<T> A predicate used by IDifferenceService to allow callers to stop differencing prematurely.
Public delegate DetermineLocalityCallback Determining the locality for a given difference type and left/right strings.

Enumerations

  Enumeration Description
Public enumeration DifferenceType The types of differences.
Public enumeration StringDifferenceTypes A bitwise combination of the enumeration values to use when computing differences with the various methods in IHierarchicalStringDifferenceService.
Public enumeration WordSplitBehavior Behavior to use while splitting words in string differencing.