C# Class Win8Sample.LogSamplePage

A basic page that provides characteristics common to most applications.
Inheritance: Win8Sample.Common.LayoutAwarePage
Mostra file Open project: onovotny/MetroLog

Private Properties

Property Type Description
CreateNewSettings MetroLog.LoggingConfiguration
DoMagic void
HandleDebug void
HandleError void
HandleFatal void
HandleInfo void
HandleReadSQLiteValues void
HandleRegisterJsonPostTarget void
HandleRegisterSQLiteTarget void
HandleRegisterStreamingTarget void
HandleTrace void
HandleWarn void
ShareLogs void
manager_DataRequested void

Public Methods

Method Description
LogSamplePage ( ) : MetroLog

Protected Methods

Method Description
LoadState ( Object navigationParameter, Object>.Dictionary pageState ) : void

Populates the page with content passed during navigation. Any saved state is also provided when recreating a page from a prior session.

OnNavigatedTo ( NavigationEventArgs e ) : void
SaveState ( Object>.Dictionary pageState ) : void

Preserves state associated with this page in case the application is suspended or the page is discarded from the navigation cache. Values must conform to the serialization requirements of SuspensionManager.SessionState.

Private Methods

Method Description
CreateNewSettings ( ) : LoggingConfiguration
DoMagic ( ) : void
HandleDebug ( object sender, RoutedEventArgs e ) : void
HandleError ( object sender, RoutedEventArgs e ) : void
HandleFatal ( object sender, RoutedEventArgs e ) : void
HandleInfo ( object sender, RoutedEventArgs e ) : void
HandleReadSQLiteValues ( object sender, RoutedEventArgs e ) : void
HandleRegisterJsonPostTarget ( object sender, RoutedEventArgs e ) : void
HandleRegisterSQLiteTarget ( object sender, RoutedEventArgs e ) : void
HandleRegisterStreamingTarget ( object sender, RoutedEventArgs e ) : void
HandleTrace ( object sender, RoutedEventArgs e ) : void
HandleWarn ( object sender, RoutedEventArgs e ) : void
ShareLogs ( object sender, RoutedEventArgs e ) : void
manager_DataRequested ( DataTransferManager sender, DataRequestedEventArgs args ) : void

Method Details

LoadState() protected method

Populates the page with content passed during navigation. Any saved state is also provided when recreating a page from a prior session.
protected LoadState ( Object navigationParameter, Object>.Dictionary pageState ) : void
navigationParameter Object The parameter value passed to /// when this page was initially requested. ///
pageState Object>.Dictionary A dictionary of state preserved by this page during an earlier /// session. This will be null the first time a page is visited.
return void

LogSamplePage() public method

public LogSamplePage ( ) : MetroLog
return MetroLog

OnNavigatedTo() protected method

protected OnNavigatedTo ( NavigationEventArgs e ) : void
e Windows.UI.Xaml.Navigation.NavigationEventArgs
return void

SaveState() protected method

Preserves state associated with this page in case the application is suspended or the page is discarded from the navigation cache. Values must conform to the serialization requirements of SuspensionManager.SessionState.
protected SaveState ( Object>.Dictionary pageState ) : void
pageState Object>.Dictionary An empty dictionary to be populated with serializable state.
return void