C# Class SIL.CoreImpl.TsStringDiffInfo

Represents a difference detected in two TsStrings
Mostrar archivo Open project: sillsdev/FieldWorks Class Usage Examples

Public Properties

Property Type Description
CchDeleteFromOld int
CchInsert int
IchFirstDiff int

Public Methods

Method Description
TsStringDiffInfo ( int ichFirstDiff ) : System

Initializes a new instance of the TsStringDiffInfo class representing no change.

TsStringDiffInfo ( int ichFirstDiff, int cchInsert, int cchDeleteFromOld ) : System

Initializes a new instance of the TsStringDiffInfo class.

Method Details

TsStringDiffInfo() public method

Initializes a new instance of the TsStringDiffInfo class representing no change.
public TsStringDiffInfo ( int ichFirstDiff ) : System
ichFirstDiff int The character position of the first difference between /// the two TsStrings
return System

TsStringDiffInfo() public method

Initializes a new instance of the TsStringDiffInfo class.
public TsStringDiffInfo ( int ichFirstDiff, int cchInsert, int cchDeleteFromOld ) : System
ichFirstDiff int The character position of the first difference between /// the two TsStrings
cchInsert int The number of characters that were inserted starting at the /// location of the first difference
cchDeleteFromOld int The number of characters that were deleted starting /// at the location of the first difference
return System

Property Details

CchDeleteFromOld public_oe property

The number of characters that were deleted starting at the location of the first difference
public int CchDeleteFromOld
return int

CchInsert public_oe property

The number of characters that were inserted starting at the location of the first difference
public int CchInsert
return int

IchFirstDiff public_oe property

The character position of the first difference between the two TsStrings
public int IchFirstDiff
return int