C# Class FirstFloor.ModernUI.Helpers.NonfatalError

Shows non-fatal errors to user or displays them somehow else, depends on implementation.
Inheritance: FirstFloor.ModernUI.Presentation.NotifyPropertyChanged
Show file Open project: gro-ove/actools Class Usage Examples

Public Methods

Method Description
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.

Private Methods

Method Description
NotifyInner ( [ message, [ commentary, [ exception, [ solutions, bool show, string m, string p, int l ) : void
UpdateUnseen ( ) : void

Method Details

Initialize() public static method

public static Initialize ( ) : void
return void

Notify() public static method

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.
return void

Notify() public static method

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.
return void

NotifyBackground() public static method

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.
return void

NotifyBackground() public static method

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.
return void