IgnoreDifferencePredicate Delegar

Definição

Um predicado personalizado que o IDifferenceBuffer usa para ignorar as diferenças seletivamente.A custom predicate that the IDifferenceBuffer uses to selectively ignore differences.

public delegate bool IgnoreDifferencePredicate(Difference ^ lineDifference, ITextSnapshot ^ leftSnapshot, ITextSnapshot ^ rightSnapshot);
public delegate bool IgnoreDifferencePredicate(Difference lineDifference, ITextSnapshot leftSnapshot, ITextSnapshot rightSnapshot);
type IgnoreDifferencePredicate = delegate of Difference * ITextSnapshot * ITextSnapshot -> bool
Public Delegate Function IgnoreDifferencePredicate(lineDifference As Difference, leftSnapshot As ITextSnapshot, rightSnapshot As ITextSnapshot) As Boolean 

Parâmetros

lineDifference
Difference

As linhas que foram alteradas.The lines that have changed. Os Left Right intervalos e são números de linha no leftSnapshot e rightSnapshot , respectivamente.The Left and Right spans are line numbers in the leftSnapshot and rightSnapshot, respectively.

leftSnapshot
ITextSnapshot

O instantâneo do LeftBuffer que está sendo comparado.The snapshot of the LeftBuffer being compared.

rightSnapshot
ITextSnapshot

O instantâneo do RightBuffer que está sendo comparado.The snapshot of the RightBuffer being compared.

Valor Retornado

Boolean

true para ignorar a diferença determinada, false para incluí-la na lista de diferenças.true to ignore the given difference, false to include it in the list of differences.

Herança
IgnoreDifferencePredicate

Aplica-se a