ContinueProcessingPredicate<T> 대리자
사용 하는 조건자 IDifferenceService 차분 중간에 중지 하려면 호출자가 허용 합니다.
네임스페이스: Microsoft.VisualStudio.Text.Differencing
어셈블리: Microsoft.VisualStudio.Text.Data(Microsoft.VisualStudio.Text.Data.dll)
구문
‘선언
Public Delegate Function ContinueProcessingPredicate(Of T) ( _
leftIndex As Integer, _
leftSequence As IList(Of T), _
longestMatchSoFar As Integer _
) As Boolean
public delegate bool ContinueProcessingPredicate<T>(
int leftIndex,
IList<T> leftSequence,
int longestMatchSoFar
)
generic<typename T>
public delegate bool ContinueProcessingPredicate(
int leftIndex,
IList<T>^ leftSequence,
int longestMatchSoFar
)
type ContinueProcessingPredicate =
delegate of
leftIndex:int *
leftSequence:IList<'T> *
longestMatchSoFar:int -> bool
JScript에서는 제네릭 형식이나 메서드를 지원하지 않습니다.
형식 매개 변수
- T
비교가 되 고 시퀀스 유형을 지정 합니다.
매개 변수
leftIndex
형식: Int32비교가 되 고 왼쪽된 시퀀스의 현재 인덱스입니다.
leftSequence
형식: IList<T>비교가 되 고 왼쪽된 순서입니다.
longestMatchSoFar
형식: Int32지금까지 가장 긴 일치 항목의 길이입니다.
반환 값
형식: Boolean
true 알고리즘 처리를 계속 해야 하는 경우 false 알고리즘을 중지 합니다.
설명
조건자를 반환 하면 false, 차이 알고리즘 일치 하는 항목에 대 한 검색을 중지 하 고이 계산 지금까지 정보를 사용 하 여 만들 수 있는 IDifferenceCollection<T>.