C# Class SimpleMusicPlayer.Core.AppHelper

Inheritance: IEnableLogger
Afficher le fichier Open project: punker76/simple-music-player

Méthodes publiques

Méthode Description
ApplicationDataPath ( ) : string
CanCreateFile ( string dir ) : bool
ConfigureApp ( Application app, string appName ) : void
HandleUnhandledException ( object exception, bool exitProgram ) : void
OnExitApp ( Application app ) : void

Private Methods

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

Method Details

ApplicationDataPath() public méthode

public ApplicationDataPath ( ) : string
Résultat string

CanCreateFile() public static méthode

public static CanCreateFile ( string dir ) : bool
dir string
Résultat bool

ConfigureApp() public méthode

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

HandleUnhandledException() public méthode

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

OnExitApp() public méthode

public OnExitApp ( Application app ) : void
app System.Windows.Application
Résultat void