IDifferenceService.DifferenceSequences<T> Method (IList<T>, IList<T>)
Calculates the differences between the two sequences.
Namespace: Microsoft.VisualStudio.Text.Differencing
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Declaration
Function DifferenceSequences(Of T) ( _
left As IList(Of T), _
right As IList(Of T) _
) As IDifferenceCollection(Of T)
IDifferenceCollection<T> DifferenceSequences<T>(
IList<T> left,
IList<T> right
)
generic<typename T>
IDifferenceCollection<T>^ DifferenceSequences(
IList<T>^ left,
IList<T>^ right
)
abstract DifferenceSequences :
left:IList<'T> *
right:IList<'T> -> IDifferenceCollection<'T>
JScript does not support generic types or methods.
Type Parameters
- T
The type of the sequences.
Parameters
left
Type: IList<T>The left sequence. In most cases this is the "old" sequence.
right
Type: IList<T>The right sequence. In most cases this is the "new" sequence.
Return Value
Type: Microsoft.VisualStudio.Text.Differencing.IDifferenceCollection<T>
A collection of the differences between the two sequences.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.