IDifferenceService Interface

 

Determines the differences between two sequences, based on adding or removing elements (but not translating or copying elements).

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

public interface class IDifferenceService

NameDescription
System_CAPS_pubmethodDifferenceSequences<T>(IList<T>^, IList<T>^)

Calculates the differences between the two sequences.

System_CAPS_pubmethodDifferenceSequences<T>(IList<T>^, IList<T>^, ContinueProcessingPredicate<T>^)

Calculates the differences between the two sequences. The supplied predicate will be called on each step through the left sequence.

This is a MEF component part, and should be imported as follows:

[Import]
internal IDifferenceService differenceService = null;
Return to top
Show: