C# Class WebApplications.Utilities.Difference.StringChunk

Inheritance: WebApplications.Utilities.Formatting.Writeable
Show file Open project: webappsuk/CoreLibraries

Public Properties

Property Type Description
AreEqual bool
OffsetA int
OffsetB int

Public Methods

Method Description
WriteTo ( TextWriter writer, FormatBuilder lineFormat = null ) : void

Writes this instance to a writer.

WriteTo ( TextWriter writer, FormatBuilder lineFormat, FormatBuilder chunkFormat ) : void

Writes this instance to a writer.

Private Methods

Method Description
StringChunk ( bool areEqual, [ a, int offsetA, [ b, int offsetB ) : System

Initializes a new instance of the StringChunk class.

Method Details

WriteTo() public method

Writes this instance to a writer.
public WriteTo ( TextWriter writer, FormatBuilder lineFormat = null ) : void
writer System.IO.TextWriter The writer.
lineFormat FormatBuilder The format.
return void

WriteTo() public method

Writes this instance to a writer.
public WriteTo ( TextWriter writer, FormatBuilder lineFormat, FormatBuilder chunkFormat ) : void
writer System.IO.TextWriter The writer.
lineFormat FormatBuilder The format.
chunkFormat FormatBuilder The chunk format.
return void

Property Details

AreEqual public property

if A and B are considered equal.
public bool AreEqual
return bool

OffsetA public property

The offset of A in the original "A" string.
public int OffsetA
return int

OffsetB public property

The offset of B in the original "B" string.
public int OffsetB
return int