IDifferenceCollection<T> 인터페이스
Difference 개체의 컬렉션을 나타냅니다.
네임스페이스: Microsoft.VisualStudio.Text.Differencing
어셈블리: Microsoft.VisualStudio.Text.Data(Microsoft.VisualStudio.Text.Data.dll)
구문
‘선언
Public Interface IDifferenceCollection(Of T) _
Inherits IEnumerable(Of Difference), IEnumerable
public interface IDifferenceCollection<T> : IEnumerable<Difference>,
IEnumerable
generic<typename T>
public interface class IDifferenceCollection : IEnumerable<Difference^>,
IEnumerable
type IDifferenceCollection<'T> =
interface
interface IEnumerable<Difference>
interface IEnumerable
end
JScript에서는 제네릭 형식이나 메서드를 지원하지 않습니다.
형식 매개 변수
- T
비교되는 목록의 요소 형식입니다.
IDifferenceCollection<T> 형식에서는 다음과 같은 멤버를 노출합니다.
속성
이름 | 설명 | |
---|---|---|
Differences | 차이점 컬렉션을 목록으로 반환합니다. | |
LeftSequence | 이 차이점 컬렉션을 만드는 데 사용된 왼쪽 시퀀스를 가져옵니다. | |
MatchSequence | 이 차이점 컬렉션을 만드는 데 사용된 원래 일치 시퀀스를 가져옵니다. | |
RightSequence | 이 차이점 컬렉션을 만드는 데 사용된 오른쪽 시퀀스를 가져옵니다. |
위쪽
메서드
이름 | 설명 | |
---|---|---|
GetEnumerator | 컬렉션을 반복하는 열거자를 반환합니다. (IEnumerable<Difference>에서 상속됨) |
위쪽
설명
이 컬렉션은 두 개의 요소가 있는 동일한 형식의 차이점은 알고리즘에서 생성 되는 최대 일치 항목 시퀀스를 지정 합니다. 목록에서 추출 됩니다.