C# Класс Baconit.App

Provides application-specific behavior to supplement the default Application class.
Наследование: Windows.UI.Xaml.Application
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
BaconMan BaconBackend.BaconManager

Открытые методы

Метод Описание
App ( ) : BaconBackend

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().

OnNavigationFailed ( object sender, NavigationFailedEventArgs e ) : void

Invoked when Navigation to a certain page fails

Защищенные методы

Метод Описание
OnActivated ( IActivatedEventArgs args ) : void

Fired when the app is opened from a toast message.

OnLaunched ( LaunchActivatedEventArgs e ) : void

Invoked when the application is launched normally by the end user. Other entry points will be used such as when the application is launched to open a specific file.

Приватные методы

Метод Описание
OnBackRequested ( object sender, BackRequestedEventArgs e ) : void

Invoked when the back button is pressed

OnResuming_Fired ( object sender, object e ) : void

Invoked when the app is resuming.

OnSuspending_Fired ( 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.

OnUnhandledException ( object sender, UnhandledExceptionEventArgs e ) : void

Fired when an exception is thrown.

SetupAndALaunchApp ( string arguments ) : void

Does the work necessary to setup and launch the app.

Описание методов

App() публичный Метод

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 ( ) : BaconBackend
Результат BaconBackend

OnActivated() защищенный Метод

Fired when the app is opened from a toast message.
protected OnActivated ( IActivatedEventArgs args ) : void
args IActivatedEventArgs
Результат void

OnLaunched() защищенный Метод

Invoked when the application is launched normally by the end user. Other entry points will be used such as when the application is launched to open a specific file.
protected OnLaunched ( LaunchActivatedEventArgs e ) : void
e Windows.ApplicationModel.Activation.LaunchActivatedEventArgs Details about the launch request and process.
Результат void

OnNavigationFailed() публичный Метод

Invoked when Navigation to a certain page fails
public OnNavigationFailed ( object sender, NavigationFailedEventArgs e ) : void
sender object The Frame which failed navigation
e Windows.UI.Xaml.Navigation.NavigationFailedEventArgs Details about the navigation failure
Результат void

Описание свойств

BaconMan публичное статическое свойство

The main reference in the app to the backend of Baconit
public static BaconManager,BaconBackend BaconMan
Результат BaconBackend.BaconManager