C# Класс SevenUpdate.App

Interaction logic for App.xaml.
Показать файл Открыть проект

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

Свойство Тип Описание
AllUserStore string
ApplicationsFile string
ConfigFile string
HiddenFile string
HistoryFile string
UserStore string

Private Properties

Свойство Тип Описание
Init void
LogError void
ProcessArgs void
RegisterApplicationRecoveryAndRestart void
SetJumpList void
UnregisterApplicationRecoveryAndRestart void

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

Метод Описание
OnExit ( System.Windows.ExitEventArgs e ) : void

Raises the Application.Exit event.

OnStartup ( System.Windows.StartupEventArgs e, bool isFirstInstance ) : void

Raises the InstanceAwareApplication.Startup event.

OnStartupNextInstance ( StartupNextInstanceEventArgs e ) : void

Raises the InstanceAwareApplication.StartupNextInstance event.

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

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

Gets the application ready for startup.

LogError ( object sender, ErrorOccurredEventArgs e ) : void

Logs an error.

ProcessArgs ( IList args ) : void

Process command line args.

RegisterApplicationRecoveryAndRestart ( ) : void

Registers the application to use the Recovery Manager.

SetJumpList ( ) : void

Sets the application jump list.

UnregisterApplicationRecoveryAndRestart ( ) : void

The unregister application recovery and restart.

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

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

Raises the Application.Exit event.
protected OnExit ( System.Windows.ExitEventArgs e ) : void
e System.Windows.ExitEventArgs An ExitEventArgs that contains the event data.
Результат void

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

Raises the InstanceAwareApplication.Startup event.
protected OnStartup ( System.Windows.StartupEventArgs e, bool isFirstInstance ) : void
e System.Windows.StartupEventArgs The System.Windows.StartupEventArgs instance containing the event data.
isFirstInstance bool If set to True the current instance is the first application instance.
Результат void

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

Raises the InstanceAwareApplication.StartupNextInstance event.
protected OnStartupNextInstance ( StartupNextInstanceEventArgs e ) : void
e SevenSoftware.Windows.StartupNextInstanceEventArgs The StartupNextInstanceEventArgs instance containing the event data.
Результат void

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

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

The all users application data location.
public static string AllUserStore
Результат string

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

The location of the list of applications Seven Update can update.
public static string ApplicationsFile
Результат string

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

The location of the application settings file.
public static string ConfigFile
Результат string

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

The location of the hidden updates file.
public static string HiddenFile
Результат string

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

The location of the update history file.
public static string HistoryFile
Результат string

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

The location of the user application data location.
public static string UserStore
Результат string