C# 클래스 Malevich._Default.DiffFileInfo

Encapsulates information for a file being diff'ed.
파일 보기 프로젝트 열기: daptiv/Malevich

공개 프로퍼티들

프로퍼티 타입 설명
BaseOrDiff BaseOrDiff
Comments AbstractedComment[]
CurLine string
CurLineNum int
Encoder ILineEncoder
File StreamCombiner
Id int
NextCommentIndex int
ScriptId string

공개 메소드들

메소드 설명
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.

메소드 상세

DiffFileInfo() 공개 메소드

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.
리턴 System

MoveNextLine() 공개 메소드

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

프로퍼티 상세

BaseOrDiff 공개적으로 프로퍼티

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

Comments 공개적으로 프로퍼티

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

CurLine 공개적으로 프로퍼티

The text of the current line.
public string CurLine
리턴 string

CurLineNum 공개적으로 프로퍼티

The line number for the current line.
public int CurLineNum
리턴 int

Encoder 공개적으로 프로퍼티

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

File 공개적으로 프로퍼티

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

Id 공개적으로 프로퍼티

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

NextCommentIndex 공개적으로 프로퍼티

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

ScriptId 공개적으로 프로퍼티

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