C# Класс KellermanSoftware.CompareNetObjects.Reports.UserFriendlyReport

Report for showing differences to an end user
Наследование: ISingleFileReport
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
FormatProperty ( Difference difference ) : string
WriteItOut ( List differences, TextWriter writer ) : void

Описание методов

LaunchApplication() публичный Метод

Launch the application for showing the file
public LaunchApplication ( string filePath ) : void
filePath string The file path
Результат void

OutputFile() публичный Метод

Output the differences to a file
public OutputFile ( List differences, string filePath ) : void
differences List A list of differences
filePath string The file path
Результат void

OutputStream() публичный Метод

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
Результат void

OutputString() публичный Метод

Output the differences to a string
public OutputString ( List differences ) : string
differences List A list of differences
Результат string

UserFriendlyReport() публичный Метод

Initializes a new instance of the UserFriendlyReport class.
public UserFriendlyReport ( ) : System
Результат System