Condividi tramite


IDifferenceService.DifferenceSequences<T> Method (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.

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

Syntax

'Dichiarazione
Function DifferenceSequences(Of T) ( _
    left As IList(Of T), _
    right As IList(Of T), _
    continueProcessingPredicate As ContinueProcessingPredicate(Of T) _
) As IDifferenceCollection(Of T)
IDifferenceCollection<T> DifferenceSequences<T>(
    IList<T> left,
    IList<T> right,
    ContinueProcessingPredicate<T> continueProcessingPredicate
)
generic<typename T>
IDifferenceCollection<T>^ DifferenceSequences(
    IList<T>^ left, 
    IList<T>^ right, 
    ContinueProcessingPredicate<T>^ continueProcessingPredicate
)
abstract DifferenceSequences : 
        left:IList<'T> * 
        right:IList<'T> * 
        continueProcessingPredicate:ContinueProcessingPredicate<'T> -> IDifferenceCollection<'T> 
JScript does not support generic types or methods.

Type Parameters

  • T
    The type of the sequences.

Parameters

Return Value

Type: Microsoft.VisualStudio.Text.Differencing.IDifferenceCollection<T>
A collection of the differences between the two sequences.

.NET Framework Security

See Also

Reference

IDifferenceService Interface

DifferenceSequences Overload

Microsoft.VisualStudio.Text.Differencing Namespace