C# Class VLC_WINPRT.App

Provides application-specific behavior to supplement the default Application class.
Inheritance: Windows.UI.Xaml.Application
显示文件 Open project: kusl/vlcwinrt

Public Properties

Property Type Description
ApiKeyLastFm string
ApplicationFrame Windows.UI.Xaml.Controls.Frame
Container IContainer
Dispatcher Windows.UI.Core.CoreDispatcher
LocalSettings IPropertySet

Public Methods

Method Description
App ( ) : Autofac

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 e ) : 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.

Private Methods

Method Description
HardwareButtons_BackPressed ( object sender, BackPressedEventArgs e ) : void

Handles back button press. If app is at the root page of app, don't go back and the system will suspend the app.

OnNavigationFailed ( object sender, NavigationFailedEventArgs e ) : void

Invoked when Navigation to a certain page fails.

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.

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 ( ) : Autofac
return Autofac

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 e ) : void
e Windows.ApplicationModel.Activation.LaunchActivatedEventArgs Details about the launch request and process.
return void

Property Details

ApiKeyLastFm public_oe static_oe property

public static string ApiKeyLastFm
return string

ApplicationFrame public_oe static_oe property

public static Frame,Windows.UI.Xaml.Controls ApplicationFrame
return Windows.UI.Xaml.Controls.Frame

Container public_oe static_oe property

public static IContainer Container
return IContainer

Dispatcher public_oe static_oe property

public static CoreDispatcher,Windows.UI.Core Dispatcher
return Windows.UI.Core.CoreDispatcher

LocalSettings public_oe static_oe property

public static IPropertySet LocalSettings
return IPropertySet