DiffFinder<T>.Diff Method (IList<T>, IList<T>, IEqualityComparer<T>, ContinueDifferencePredicate<T>)
Namespace: Microsoft.TeamFoundation.Diff
Assembly: Microsoft.TeamFoundation.Diff (in Microsoft.TeamFoundation.Diff.dll)
Syntax
'Declaration
Public Function Diff ( _
original As IList(Of T), _
modified As IList(Of T), _
elementComparer As IEqualityComparer(Of T), _
predicate As ContinueDifferencePredicate(Of T) _
) As IDiffChange()
public IDiffChange[] Diff(
IList<T> original,
IList<T> modified,
IEqualityComparer<T> elementComparer,
ContinueDifferencePredicate<T> predicate
)
public:
array<IDiffChange^>^ Diff(
IList<T>^ original,
IList<T>^ modified,
IEqualityComparer<T>^ elementComparer,
ContinueDifferencePredicate<T>^ predicate
)
member Diff :
original:IList<'T> *
modified:IList<'T> *
elementComparer:IEqualityComparer<'T> *
predicate:ContinueDifferencePredicate<'T> -> IDiffChange[]
public function Diff(
original : IList<T>,
modified : IList<T>,
elementComparer : IEqualityComparer<T>,
predicate : ContinueDifferencePredicate<T>
) : IDiffChange[]
Parameters
- original
Type: System.Collections.Generic.IList<T>
- modified
Type: System.Collections.Generic.IList<T>
- elementComparer
Type: System.Collections.Generic.IEqualityComparer<T>
- predicate
Type: Microsoft.TeamFoundation.Diff.ContinueDifferencePredicate<T>
Return Value
Type: array<Microsoft.TeamFoundation.Diff.IDiffChange[]
.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.