C# 클래스 Malevich._Default.DiffItem

Represents a block of lines of a particular difference type.
상속: ICloneable
파일 보기 프로젝트 열기: daptiv/Malevich

공개 프로퍼티들

프로퍼티 타입 설명
BaseLineCount int
BaseStartLineNumber int
DiffLineCount int
DiffType DiffType

공개 메소드들

메소드 설명
Clone ( ) : object

Clones the object.

DiffItem ( ) : System

Trivial constructor.

EnumerateDifferences ( StreamCombiner rawDiffStream ) : IEnumerable

Generates a sequence of DiffItems representing differences in rawDiffStream. Includes unchanged blocks.

EnumerateDifferences ( StreamCombiner rawDiffStream, bool includeUnchangedBlocks ) : IEnumerable

Generates a sequence of DiffItems representing differences in rawDiffStream.

메소드 상세

Clone() 공개 메소드

Clones the object.
public Clone ( ) : object
리턴 object

DiffItem() 공개 메소드

Trivial constructor.
public DiffItem ( ) : System
리턴 System

EnumerateDifferences() 공개 정적인 메소드

Generates a sequence of DiffItems representing differences in rawDiffStream. Includes unchanged blocks.
public static EnumerateDifferences ( StreamCombiner rawDiffStream ) : IEnumerable
rawDiffStream StreamCombiner
리턴 IEnumerable

EnumerateDifferences() 공개 정적인 메소드

Generates a sequence of DiffItems representing differences in rawDiffStream.
public static EnumerateDifferences ( StreamCombiner rawDiffStream, bool includeUnchangedBlocks ) : IEnumerable
rawDiffStream StreamCombiner
includeUnchangedBlocks bool /// Indicates whether to generate DiffItems for unchanged blocks. ///
리턴 IEnumerable

프로퍼티 상세

BaseLineCount 공개적으로 프로퍼티

The number of lines removed from the base file.
public int BaseLineCount
리턴 int

BaseStartLineNumber 공개적으로 프로퍼티

The starting line number within the base file.
public int BaseStartLineNumber
리턴 int

DiffLineCount 공개적으로 프로퍼티

The number of lines added to the diff file.
public int DiffLineCount
리턴 int

DiffType 공개적으로 프로퍼티

The type of difference represented.
public DiffType DiffType
리턴 DiffType