C# Class Malevich._Default.DiffItem

Represents a block of lines of a particular difference type.
Inheritance: ICloneable
Datei anzeigen Open project: daptiv/Malevich

Public Properties

Property Type Description
BaseLineCount int
BaseStartLineNumber int
DiffLineCount int
DiffType DiffType

Public Methods

Method Description
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.

Method Details

Clone() public method

Clones the object.
public Clone ( ) : object
return object

DiffItem() public method

Trivial constructor.
public DiffItem ( ) : System
return System

EnumerateDifferences() public static method

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

EnumerateDifferences() public static method

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. ///
return IEnumerable

Property Details

BaseLineCount public_oe property

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

BaseStartLineNumber public_oe property

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

DiffLineCount public_oe property

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

DiffType public_oe property

The type of difference represented.
public DiffType DiffType
return DiffType