C# Class SevenUpdate.App

Interaction logic for App.xaml.
ファイルを表示 Open project: robertbaker/SevenUpdate

Public Properties

Property Type Description
AllUserStore string
ApplicationsFile string
ConfigFile string
HiddenFile string
HistoryFile string
UserStore string

Private Properties

Property Type Description
Init void
LogError void
ProcessArgs void
RegisterApplicationRecoveryAndRestart void
SetJumpList void
UnregisterApplicationRecoveryAndRestart void

Protected Methods

Method 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

Method 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 method

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

OnStartup() protected method

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.
return void

OnStartupNextInstance() protected method

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

Property Details

AllUserStore public_oe static_oe property

The all users application data location.
public static string AllUserStore
return string

ApplicationsFile public_oe static_oe property

The location of the list of applications Seven Update can update.
public static string ApplicationsFile
return string

ConfigFile public_oe static_oe property

The location of the application settings file.
public static string ConfigFile
return string

HiddenFile public_oe static_oe property

The location of the hidden updates file.
public static string HiddenFile
return string

HistoryFile public_oe static_oe property

The location of the update history file.
public static string HistoryFile
return string

UserStore public_oe static_oe property

The location of the user application data location.
public static string UserStore
return string