C# Class Malevich._Default.DiffFileInfo

Encapsulates information for a file being diff'ed.
Mostrar archivo Open project: daptiv/Malevich

Public Properties

Property Type Description
BaseOrDiff BaseOrDiff
Comments AbstractedComment[]
CurLine string
CurLineNum int
Encoder ILineEncoder
File StreamCombiner
Id int
NextCommentIndex int
ScriptId string

Public Methods

Method Description
DiffFileInfo ( StreamCombiner file, ILineEncoder encoder, int id, AbstractedComment comments, BaseOrDiff baseOrDiff ) : System

Creates a DiffFileInfo for a file being compared.

MoveNextLine ( ) : bool

Moves to the next line in the file.

Method Details

DiffFileInfo() public method

Creates a DiffFileInfo for a file being compared.
public DiffFileInfo ( StreamCombiner file, ILineEncoder encoder, int id, AbstractedComment comments, BaseOrDiff baseOrDiff ) : System
file StreamCombiner The file stream.
encoder ILineEncoder The line encoder.
id int The file ID within the database.
comments AbstractedComment The array of comments for the file.
baseOrDiff BaseOrDiff What role the file plays within the comparison.
return System

MoveNextLine() public method

Moves to the next line in the file.
public MoveNextLine ( ) : bool
return bool

Property Details

BaseOrDiff public_oe property

Indicates if this file is the base or diff in the comparison.
public BaseOrDiff BaseOrDiff
return BaseOrDiff

Comments public_oe property

The comments associated with this file.
public AbstractedComment[] Comments
return AbstractedComment[]

CurLine public_oe property

The text of the current line.
public string CurLine
return string

CurLineNum public_oe property

The line number for the current line.
public int CurLineNum
return int

Encoder public_oe property

The encoder for displaying the file's text.
public ILineEncoder Encoder
return ILineEncoder

File public_oe property

The stream from which to read the file's text.
public StreamCombiner,Malevich File
return StreamCombiner

Id public_oe property

The file ID as found in the database.
public int Id
return int

NextCommentIndex public_oe property

The index in Comments of the next comment for either the current or a later line.
public int NextCommentIndex
return int

ScriptId public_oe property

The ID used in HTML for javascript to use.
public string ScriptId
return string