C# Class KellermanSoftware.CompareNetObjects.Reports.UserFriendlyReport

Report for showing differences to an end user
Inheritance: ISingleFileReport
ファイルを表示 Open project: GregFinzer/Compare-Net-Objects Class Usage Examples

Public Methods

Method Description
LaunchApplication ( string filePath ) : void

Launch the application for showing the file

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

UserFriendlyReport ( ) : System

Initializes a new instance of the UserFriendlyReport class.

Private Methods

Method Description
FormatProperty ( Difference difference ) : string
WriteItOut ( List differences, TextWriter writer ) : void

Method Details

LaunchApplication() public method

Launch the application for showing the file
public LaunchApplication ( string filePath ) : void
filePath string The file path
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 Where to write to
return void

OutputString() public method

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

UserFriendlyReport() public method

Initializes a new instance of the UserFriendlyReport class.
public UserFriendlyReport ( ) : System
return System