Export (0) Print
Expand All

IDifferenceCollection<T> Interface

Represents a collection of Difference objects.

Namespace:  Microsoft.VisualStudio.Text.Differencing
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

public interface IDifferenceCollection<T> : IEnumerable<Difference>, 
	IEnumerable

Type Parameters

T

The element type of the compared lists.

The IDifferenceCollection<T> type exposes the following members.

  NameDescription
Public propertyDifferencesReturns the difference collection as a list.
Public propertyLeftSequenceGets the left sequence that was used to create this difference collection.
Public propertyMatchSequenceGets the original match sequence that was used to create this difference collection.
Public propertyRightSequenceGets the right sequence that was used to create this difference collection.
Top

  NameDescription
Public methodGetEnumeratorReturns an enumerator that iterates through the collection. (Inherited from IEnumerable<Difference>.)
Top

This collection is extracted from two lists of elements of the same type, given a maximal match sequence generated from a difference algorithm.

Show:
© 2014 Microsoft