C# Class MONI.Util.AppHelper

Afficher le fichier Open project: dotob/moni

Private Properties

Свойство Type Description
AppHelper System
BackgroundThreadUnhandledException void
CheckForRunningMoni void
ConfigureHandlingUnhandledExceptions void
ConfigureLogging void
LogMemoryUsageAndInfos void
WPFUIThreadException void

Méthodes publiques

Méthode Description
ConfigureApp ( Application app, string appName ) : void
HandleUnhandledException ( object exception, bool exitProgram ) : void
SetCultureToCurrentThread ( string cultureString ) : void

Private Methods

Méthode Description
AppHelper ( ) : System
BackgroundThreadUnhandledException ( object sender, UnhandledExceptionEventArgs e ) : void
CheckForRunningMoni ( Application app ) : void
ConfigureHandlingUnhandledExceptions ( ) : void
ConfigureLogging ( ) : void
LogMemoryUsageAndInfos ( object state ) : void
WPFUIThreadException ( object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e ) : void

Method Details

ConfigureApp() public méthode

public ConfigureApp ( Application app, string appName ) : void
app System.Windows.Application
appName string
Résultat void

HandleUnhandledException() public static méthode

public static HandleUnhandledException ( object exception, bool exitProgram ) : void
exception object
exitProgram bool
Résultat void

SetCultureToCurrentThread() public méthode

public SetCultureToCurrentThread ( string cultureString ) : void
cultureString string
Résultat void