C# Class KellermanSoftware.CompareNetObjects.Reports.UserFriendlyReport

Report for showing differences to an end user
Inheritance: ISingleFileReport
Afficher le fichier Open project: GregFinzer/Compare-Net-Objects Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
FormatProperty ( Difference difference ) : string
WriteItOut ( List differences, TextWriter writer ) : void

Method Details

LaunchApplication() public méthode

Launch the application for showing the file
public LaunchApplication ( string filePath ) : void
filePath string The file path
Résultat void

OutputFile() public méthode

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

OutputStream() public méthode

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
Résultat void

OutputString() public méthode

Output the differences to a string
public OutputString ( List differences ) : string
differences List A list of differences
Résultat string

UserFriendlyReport() public méthode

Initializes a new instance of the UserFriendlyReport class.
public UserFriendlyReport ( ) : System
Résultat System