C# Class SevenUpdate.App

Interaction logic for App.xaml.
Afficher le fichier Open project: robertbaker/SevenUpdate

Méthodes publiques

Свойство Type Description
AllUserStore string
ApplicationsFile string
ConfigFile string
HiddenFile string
HistoryFile string
UserStore string

Private Properties

Свойство Type Description
Init void
LogError void
ProcessArgs void
RegisterApplicationRecoveryAndRestart void
SetJumpList void
UnregisterApplicationRecoveryAndRestart void

Méthodes protégées

Méthode Description
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.

Private Methods

Méthode Description
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.

Method Details

OnExit() protected méthode

Raises the Application.Exit event.
protected OnExit ( System.Windows.ExitEventArgs e ) : void
e System.Windows.ExitEventArgs An ExitEventArgs that contains the event data.
Résultat void

OnStartup() protected méthode

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.
Résultat void

OnStartupNextInstance() protected méthode

Raises the InstanceAwareApplication.StartupNextInstance event.
protected OnStartupNextInstance ( StartupNextInstanceEventArgs e ) : void
e SevenSoftware.Windows.StartupNextInstanceEventArgs The StartupNextInstanceEventArgs instance containing the event data.
Résultat void

Property Details

AllUserStore public_oe static_oe property

The all users application data location.
public static string AllUserStore
Résultat string

ApplicationsFile public_oe static_oe property

The location of the list of applications Seven Update can update.
public static string ApplicationsFile
Résultat string

ConfigFile public_oe static_oe property

The location of the application settings file.
public static string ConfigFile
Résultat string

HiddenFile public_oe static_oe property

The location of the hidden updates file.
public static string HiddenFile
Résultat string

HistoryFile public_oe static_oe property

The location of the update history file.
public static string HistoryFile
Résultat string

UserStore public_oe static_oe property

The location of the user application data location.
public static string UserStore
Résultat string