Public Member Functions

HandBrakeWPF::Services::Interfaces::IErrorService Interface Reference

The Interface to the Error Service. More...

Inheritance diagram for HandBrakeWPF::Services::Interfaces::IErrorService:
HandBrakeWPF::Services::ErrorService

List of all members.

Public Member Functions

void ShowError (string message, string solution, string details)
 Show an Exception Error Window.
void ShowError (string message, string solution, Exception exception)
 Show an Exception Error Window.
MessageBoxResult ShowMessageBox (string message, string header, MessageBoxButton buttons, MessageBoxImage image)
 Show a Message Box. It is good practice to use this, so that if we ever introduce unit testing, the message boxes won't cause issues.

Detailed Description

The Interface to the Error Service.


Member Function Documentation

void HandBrakeWPF::Services::Interfaces::IErrorService::ShowError ( string  message,
string  solution,
string  details 
)

Show an Exception Error Window.

Parameters:
message The message.
solution The solution.
details The details.

Implemented in HandBrakeWPF::Services::ErrorService.

void HandBrakeWPF::Services::Interfaces::IErrorService::ShowError ( string  message,
string  solution,
Exception  exception 
)

Show an Exception Error Window.

Parameters:
message The message.
solution The solution.
exception The exception.

Implemented in HandBrakeWPF::Services::ErrorService.

MessageBoxResult HandBrakeWPF::Services::Interfaces::IErrorService::ShowMessageBox ( string  message,
string  header,
MessageBoxButton  buttons,
MessageBoxImage  image 
)

Show a Message Box. It is good practice to use this, so that if we ever introduce unit testing, the message boxes won't cause issues.

Parameters:
message The message.
header The header.
buttons The buttons.
image The image.
Returns:
The MessageBoxResult Object

Implemented in HandBrakeWPF::Services::ErrorService.


The documentation for this interface was generated from the following file: