C# Class MetroLog.LazyFlushManager

Handles application suspension.
This class maintains a list of the managers and tracks application suspension. When the app is suspended, any discovered targets tht implement ISuspendNotify are called.
Mostra file Open project: onovotny/MetroLog Class Usage Examples

Private Properties

Property Type Description
Current_Suspending void
Initialize void
LazyFlushAsync System.Threading.Tasks.Task
LazyFlushManager System
LazyFlushManager System
Owner_LoggerCreated void

Public Methods

Method Description
FlushAllAsync ( LogWriteContext context ) : System.Threading.Tasks.Task

Private Methods

Method Description
Current_Suspending ( object sender, Windows e ) : void
Initialize ( ILogManager manager ) : void
LazyFlushAsync ( LogWriteContext context ) : System.Threading.Tasks.Task
LazyFlushManager ( ) : System
LazyFlushManager ( ILogManager owner ) : System
Owner_LoggerCreated ( object sender, LoggerEventArgs e ) : void

Method Details

FlushAllAsync() public static method

public static FlushAllAsync ( LogWriteContext context ) : System.Threading.Tasks.Task
context LogWriteContext
return System.Threading.Tasks.Task