C# Class EnterpriseWebLibrary.WpfInitializationOps

Show file Open project: enduracode/enterprise-web-library

Public Methods

Method Description
CleanUpStatics ( ) : void

Call this from Application_Exit. Besides this call, there should be no other code in the method.

HandleException ( System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e ) : void

Call this from Application_DispatcherUnhandledException. Besides this call, there should be no other code in the method.

InitStatics ( SystemInitializer globalInitializer, SystemInitializer appInitializer = null ) : void

Call this from Application_Startup. Besides this call, there should be no other code in the method.

Private Methods

Method Description
shutDown ( ) : void

Method Details

CleanUpStatics() public static method

Call this from Application_Exit. Besides this call, there should be no other code in the method.
public static CleanUpStatics ( ) : void
return void

HandleException() public static method

Call this from Application_DispatcherUnhandledException. Besides this call, there should be no other code in the method.
public static HandleException ( System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e ) : void
e System.Windows.Threading.DispatcherUnhandledExceptionEventArgs
return void

InitStatics() public static method

Call this from Application_Startup. Besides this call, there should be no other code in the method.
public static InitStatics ( SystemInitializer globalInitializer, SystemInitializer appInitializer = null ) : void
globalInitializer SystemInitializer The system's global initializer. Do not pass null.
appInitializer SystemInitializer The application initializer, which performs application-specific initialization and cleanup. If you have one of these you /// should name the class AppInitializer.
return void