Partager via


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 DifferenceBufferOption<T>
Public class DifferenceBufferOptions
Public class DifferenceViewerOption<T>
Public class DifferenceViewerOptions
Public class DifferenceViewerRoles
Public class Match Represents a range of matches between two sequences as a pair of spans of equal length.
Public class SnapshotDifferenceChangeEventArgs

Structures

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

Interfaces

  Interface Description
Public interface IDifferenceBuffer
Public interface IDifferenceBufferFactoryService
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 IDifferenceTextViewModel
Public interface IDifferenceTrackingSpanCollection
Public interface IDifferenceViewer
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 Obsolete. This service has several shortcut methods that compute differences over strings, snapshots, and spans.
Public interface ISnapshotDifference
Public interface ITextDifferencingSelectorService
Public interface ITextDifferencingService
Public interface ITokenizedStringList A tokenized representation of a string into abutting and non-overlapping segments.
Public interface IWpfDifferenceViewer
Public interface IWpfDifferenceViewerFactoryService

Delegates

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

Enumerations

  Enumeration Description
Public enumeration DifferenceHighlightMode
Public enumeration DifferenceMappingMode
Public enumeration DifferenceType The types of differences.
Public enumeration DifferenceViewMode
Public enumeration DifferenceViewType
Public enumeration IgnoreWhiteSpaceBehavior
Public enumeration LineType
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.