C# Class CSharpAnalytics.Sample.WindowsStore.App

Provides application-specific behavior to supplement the default Application class.
Show file Open project: TechSmith/CSharpAnalytics

Public Methods

Method Description
App ( ) : CSharpAnalytics.Protocols.Measurement

Initializes the singleton Application object. This is the first line of authored code executed, and as such is the logical equivalent of main() or WinMain().

Protected Methods

Method Description
OnLaunched ( LaunchActivatedEventArgs args ) : void

Invoked when the application is launched normally by the end user. Other entry points will be used when the application is launched to open a specific file, to display search results, and so forth.

OnWindowCreated ( WindowCreatedEventArgs args ) : void

Fires when the Window is created and you should sign up for charm notifications.

Private Methods

Method Description
OnSuspending ( object sender, SuspendingEventArgs e ) : void

Invoked when application execution is being suspended. Application state is saved without knowing whether the application will be terminated or resumed with the contents of memory still intact.

SettingsCommandsRequested ( SettingsPane sender, SettingsPaneCommandsRequestedEventArgs args ) : void

Used to tell the settings pane what to display. Normally includes options, privacy policy etc.

Method Details

App() public method

Initializes the singleton Application object. This is the first line of authored code executed, and as such is the logical equivalent of main() or WinMain().
public App ( ) : CSharpAnalytics.Protocols.Measurement
return CSharpAnalytics.Protocols.Measurement

OnLaunched() protected method

Invoked when the application is launched normally by the end user. Other entry points will be used when the application is launched to open a specific file, to display search results, and so forth.
protected OnLaunched ( LaunchActivatedEventArgs args ) : void
args Windows.ApplicationModel.Activation.LaunchActivatedEventArgs Details about the launch request and process.
return void

OnWindowCreated() protected method

Fires when the Window is created and you should sign up for charm notifications.
protected OnWindowCreated ( WindowCreatedEventArgs args ) : void
args WindowCreatedEventArgs Arguments relating to which window was created.
return void