C# Класс GreaterShare.App

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

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

Свойство Тип Описание
CurrentAppUri Task
CurrentFile BehaviorSubject

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

Метод Описание
App ( ) : GreaterShare.Models.Sharing.ShareItems

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

InitConfigurationInThisAssembly ( ) : void
OnNavigationFailed ( object sender, NavigationFailedEventArgs e ) : void

Invoked when Navigation to a certain page fails

SetTitleBarColor ( ) : void

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

Метод Описание
OnFileActivated ( FileActivatedEventArgs args ) : void
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.

OnShareTargetActivated ( ShareTargetActivatedEventArgs args ) : void

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

Метод Описание
ConfigTitlebar ( ) : void
ConfigureCommandAndCommandExceptionHandler ( ) : void

Configure event handler when command executed or exception happens

CreatOrSetupeRootFrame ( ) : Frame
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.

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

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 ( ) : GreaterShare.Models.Sharing.ShareItems
Результат GreaterShare.Models.Sharing.ShareItems

InitConfigurationInThisAssembly() публичный статический Метод

public static InitConfigurationInThisAssembly ( ) : void
Результат void

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

protected OnFileActivated ( FileActivatedEventArgs args ) : void
args Windows.ApplicationModel.Activation.FileActivatedEventArgs
Результат 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

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

protected OnShareTargetActivated ( ShareTargetActivatedEventArgs args ) : void
args Windows.ApplicationModel.Activation.ShareTargetActivatedEventArgs
Результат void

SetTitleBarColor() публичный статический Метод

public static SetTitleBarColor ( ) : void
Результат void

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

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

public static Task CurrentAppUri
Результат Task

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

public static BehaviorSubject CurrentFile
Результат BehaviorSubject