C# Class Hourglass.Managers.ErrorManager

Manages global errors.
Inheritance: Hourglass.Managers.Manager
显示文件 Open project: Dziemborowicz/Hourglass

Public Properties

Property Type Description
Instance ErrorManager

Public Methods

Method Description
Initialize ( ) : void

Initializes the class.

Private Methods

Method Description
AppDomainUnhandledException ( object sender, UnhandledExceptionEventArgs e ) : void

Invoked when an exception is not caught.

ErrorManager ( ) : System

Prevents a default instance of the ErrorManager class from being created.

GetErrorDumpPath ( System.DateTime dateTime ) : string

Returns the path for the error dump with the specified suffix.

TryCleanErrorDumps ( ) : bool

Tries to limit the number of error messages written to files in the temporary files folder to .

TryDumpError ( string errorMessage, string &dumpPath ) : bool

Tries to write an error message to a file in the temporary files folder.

Method Details

Initialize() public method

Initializes the class.
public Initialize ( ) : void
return void

Property Details

Instance public_oe static_oe property

Singleton instance of the ErrorManager class.
public static ErrorManager,Hourglass.Managers Instance
return ErrorManager