C# Класс FirstFloor.ModernUI.Helpers.NonfatalError

Shows non-fatal errors to user or displays them somehow else, depends on implementation.
Наследование: FirstFloor.ModernUI.Presentation.NotifyPropertyChanged
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Initialize ( ) : void
Notify ( [ message, Exception exception = null, IEnumerable solutions = null, [ m = null, [ p = null, [ l = -1 ) : void

Notify about some non-fatal exception. User will see some message.

Notify ( [ message, [ commentary, Exception exception = null, IEnumerable solutions = null, [ m = null, [ p = null, [ l = -1 ) : void

Notify about some non-fatal exception. User will see some message.

NotifyBackground ( [ message, Exception exception = null, IEnumerable solutions = null, [ m = null, [ p = null, [ l = -1 ) : void

Notify about some non-fatal exception. User will see a new entry in errors list.

NotifyBackground ( [ message, [ commentary, Exception exception = null, IEnumerable solutions = null, [ m = null, [ p = null, [ l = -1 ) : void

Notify about some non-fatal exception. User will see a new entry in errors list.

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

Метод Описание
NotifyInner ( [ message, [ commentary, [ exception, [ solutions, bool show, string m, string p, int l ) : void
UpdateUnseen ( ) : void

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

Initialize() публичный статический Метод

public static Initialize ( ) : void
Результат void

Notify() публичный статический Метод

Notify about some non-fatal exception. User will see some message.
public static Notify ( [ message, Exception exception = null, IEnumerable solutions = null, [ m = null, [ p = null, [ l = -1 ) : void
message [ Ex.: “Can’t do this and that”.
exception System.Exception Exception which caused the problem.
solutions IEnumerable A bunch of possible solutions.
m [ Member at which error occured.
p [ File at which error occured.
l [ Line at which error occured.
Результат void

Notify() публичный статический Метод

Notify about some non-fatal exception. User will see some message.
public static Notify ( [ message, [ commentary, Exception exception = null, IEnumerable solutions = null, [ m = null, [ p = null, [ l = -1 ) : void
message [ Ex.: “Can’t do this and that”.
commentary [ Ex.: “Make sure A is something and B is something else.”
exception System.Exception Exception which caused the problem.
solutions IEnumerable A bunch of possible solutions.
m [ Member at which error occured.
p [ File at which error occured.
l [ Line at which error occured.
Результат void

NotifyBackground() публичный статический Метод

Notify about some non-fatal exception. User will see a new entry in errors list.
public static NotifyBackground ( [ message, Exception exception = null, IEnumerable solutions = null, [ m = null, [ p = null, [ l = -1 ) : void
message [ Ex.: “Can’t do this and that”.
exception System.Exception Exception which caused the problem.
solutions IEnumerable A bunch of possible solutions.
m [ Member at which error occured.
p [ File at which error occured.
l [ Line at which error occured.
Результат void

NotifyBackground() публичный статический Метод

Notify about some non-fatal exception. User will see a new entry in errors list.
public static NotifyBackground ( [ message, [ commentary, Exception exception = null, IEnumerable solutions = null, [ m = null, [ p = null, [ l = -1 ) : void
message [ Ex.: “Can’t do this and that”.
commentary [ Ex.: “Make sure A is something and B is something else.”
exception System.Exception Exception which caused the problem.
solutions IEnumerable A bunch of possible solutions.
m [ Member at which error occured.
p [ File at which error occured.
l [ Line at which error occured.
Результат void