ContinueProcessingPredicate<T> ContinueProcessingPredicate<T> ContinueProcessingPredicate<T> ContinueProcessingPredicate<T> Delegate

Definition

A predicate used by IDifferenceService to allow callers to stop differencing prematurely.

generic <typename T>
public delegate bool ContinueProcessingPredicate(int leftIndex, IList<T> ^ leftSequence, int longestMatchSoFar);
public delegate bool ContinueProcessingPredicate<T>(int leftIndex, IList<T> leftSequence, int longestMatchSoFar);
type ContinueProcessingPredicate<'T> = delegate of int * IList<'T> * int -> bool
Public Delegate Function ContinueProcessingPredicate(Of T)(leftIndex As Integer, leftSequence As IList(Of T), longestMatchSoFar As Integer) As Boolean 
Type Parameters
T

The type of sequences being differenced.

Parameters
leftIndex

The current index in the left sequence being differenced.

leftSequence

The left sequence being differenced.

longestMatchSoFar

The length of the longest match so far.

Return Value
System.Boolean

true if the algorithm should continue processing, false to stop the algorithm.

Inheritance
ContinueProcessingPredicate<T>ContinueProcessingPredicate<T>ContinueProcessingPredicate<T>ContinueProcessingPredicate<T>

Remarks

When the predicate returns false, the difference algorithm stops searching for matches and uses the information it has computed so far to create a IDifferenceCollection<T>.

Applies to