This documentation is archived and is not being maintained.

Microsoft.VisualStudio.Text.Differencing Namespace

  ClassDescription
Public classDifferenceRepresents a single difference in the set of differences of two lists of elements.
Public classDifferenceBufferOption<T>
Public classDifferenceBufferOptions
Public classDifferenceViewerOption<T>
Public classDifferenceViewerOptions
Public classDifferenceViewerRoles
Public classMatchRepresents a range of matches between two sequences as a pair of spans of equal length.
Public classSnapshotDifferenceChangeEventArgs

  StructureDescription
Public structureStringDifferenceOptionsOptions to use in calculating string differences.

  InterfaceDescription
Public interfaceIDifferenceBuffer
Public interfaceIDifferenceBufferFactoryService
Public interfaceIDifferenceCollection<T>Represents a collection of Difference objects.
Public interfaceIDifferenceServiceDetermines the differences between two sequences, based on adding or removing elements (but not translating or copying elements).
Public interfaceIDifferenceTextViewModel
Public interfaceIDifferenceTrackingSpanCollection
Public interfaceIDifferenceViewer
Public interfaceIHierarchicalDifferenceCollectionRepresents a difference collection in which the left and right sequences are ITokenizedStringList objects, and each difference may itself contain an IHierarchicalDifferenceCollection.
Public interfaceIHierarchicalStringDifferenceService Obsolete. This service has several shortcut methods that compute differences over strings, snapshots, and spans.
Public interfaceISnapshotDifference
Public interfaceITextDifferencingSelectorService
Public interfaceITextDifferencingService
Public interfaceITokenizedStringListA tokenized representation of a string into abutting and non-overlapping segments.
Public interfaceIWpfDifferenceViewer
Public interfaceIWpfDifferenceViewerFactoryService

  DelegateDescription
Public delegateContinueProcessingPredicate<T>A predicate used by IDifferenceService to allow callers to stop differencing prematurely.
Public delegateCreateTextViewHostCallback
Public delegateDetermineLocalityCallback Obsolete. Determining the locality for a given difference type and left/right strings.
Public delegateIgnoreDifferencePredicate
Public delegateSnapshotLineTransform

  EnumerationDescription
Public enumerationDifferenceHighlightMode
Public enumerationDifferenceMappingMode
Public enumerationDifferenceTypeThe types of differences.
Public enumerationDifferenceViewMode
Public enumerationDifferenceViewType
Public enumerationIgnoreWhiteSpaceBehavior
Public enumerationLineType
Public enumerationStringDifferenceTypesA bitwise combination of the enumeration values to use when computing differences with the various methods in IHierarchicalStringDifferenceService.
Public enumerationWordSplitBehaviorBehavior to use while splitting words in string differencing.
Show: