C# Class KellermanSoftware.CompareNetObjects.Reports.CsvReport

Create a CSV file of the differences and launch the default CSV handler (usually Excel)
Inheritance: ISingleFileReport
Show file Open project: GregFinzer/Compare-Net-Objects Class Usage Examples

Public Methods

Method Description
LaunchApplication ( string filePath ) : void

Launch the WinMerge

OutputFile ( List differences, string filePath ) : void

Output the differences to a file

OutputStream ( List differences, Stream stream ) : void

Output the differences to a stream

OutputString ( List differences ) : string

Output the differences to a string

Private Methods

Method Description
EscapeString ( object value ) : string

Escape special characters

WriteItOut ( List differences, TextWriter writer ) : void

Method Details

LaunchApplication() public method

Launch the WinMerge
public LaunchApplication ( string filePath ) : void
filePath string The differences file
return void

OutputFile() public method

Output the differences to a file
public OutputFile ( List differences, string filePath ) : void
differences List A list of differences
filePath string The file path
return void

OutputStream() public method

Output the differences to a stream
public OutputStream ( List differences, Stream stream ) : void
differences List A list of differences
stream Stream An output stream
return void

OutputString() public method

Output the differences to a string
public OutputString ( List differences ) : string
differences List A list of differences
return string