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 IDifferenceService

Public methodDifferenceSequences(T)(IList(T), IList(T))Calculates the differences between the two sequences.
Public methodDifferenceSequences(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:

internal IDifferenceService differenceService = null;
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft