IDifferenceCollection<T> Interface

Definition

Represents a collection of Difference objects.

public interface IDifferenceCollection<T> : System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Text.Differencing.Difference>
Type Parameters
T

The element type of the compared lists.

Derived
Implements

Remarks

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

Properties

Differences

Returns the difference collection as a list.

LeftSequence

Gets the left sequence that was used to create this difference collection.

MatchSequence

Gets the original match sequence that was used to create this difference collection.

RightSequence

Gets the right sequence that was used to create this difference collection.

Applies to