IDifferenceService::DifferenceSequences<T> Method (IList<T>^, IList<T>^, ContinueProcessingPredicate<T>^)
Visual Studio 2015
Calculates the differences between the two sequences. The supplied predicate will be called on each step through the left sequence.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
generic<typename T> IDifferenceCollection<T>^ DifferenceSequences( IList<T>^ left, IList<T>^ right, ContinueProcessingPredicate<T>^ continueProcessingPredicate )
Parameters
- left
-
Type:
System.Collections.Generic::IList<T>^
The left sequence. In most cases this is the "old" sequence.
- right
-
Type:
System.Collections.Generic::IList<T>^
The right sequence. In most cases this is the "new" sequence.
- continueProcessingPredicate
-
Type:
Microsoft.VisualStudio.Text.Differencing::ContinueProcessingPredicate<T>^
A predicate that will be called on each step through the left sequence, with the option of stopping the algorithm prematurely.
Return Value
Type: Microsoft.VisualStudio.Text.Differencing::IDifferenceCollection<T>^A collection of the differences between the two sequences.
Type Parameters
- T
The type of the sequences.
Show: