C# Class Caliburn.Micro.PhoneBootstrapper

A custom bootstrapper designed to setup phone applications.
Inheritance: Bootstrapper
Mostrar archivo Open project: dbuksbaum/Learning-Caliburn.Micro

Protected Properties

Property Type Description
PhoneApplicationInitialized bool

Protected Methods

Method Description
OnActivate ( object sender, ActivatedEventArgs e ) : void

Occurs when a previously tombstoned application instance is resurrected.

OnClose ( object sender, ClosingEventArgs e ) : void

Occurs when the application is closing.

OnDeactivate ( object sender, DeactivatedEventArgs e ) : void

Occurs when the application is being tombstoned.

OnLaunch ( object sender, LaunchingEventArgs e ) : void

Occurs when a fresh instance of the application is launching.

OnNavigated ( object sender, System.Windows.Navigation.NavigationEventArgs e ) : void
PrepareApplication ( ) : void

Provides an opportunity to hook into the application object.

Resurrect ( IEnumerable instances ) : void

Resurrects the instances after activation.

SelectInstancesToResurrect ( ) : IEnumerable

Selects all instance which require some sort of re-hydration after tombstoning.

SelectInstancesToTombstone ( ) : IEnumerable

Selects all instance which require some sort of persistence before tombstoning.

Tombstone ( IEnumerable instances ) : void

Persists the specified instances before tombstoning.

Method Details

OnActivate() protected method

Occurs when a previously tombstoned application instance is resurrected.
protected OnActivate ( object sender, ActivatedEventArgs e ) : void
sender object
e ActivatedEventArgs
return void

OnClose() protected method

Occurs when the application is closing.
protected OnClose ( object sender, ClosingEventArgs e ) : void
sender object
e ClosingEventArgs
return void

OnDeactivate() protected method

Occurs when the application is being tombstoned.
protected OnDeactivate ( object sender, DeactivatedEventArgs e ) : void
sender object
e DeactivatedEventArgs
return void

OnLaunch() protected method

Occurs when a fresh instance of the application is launching.
protected OnLaunch ( object sender, LaunchingEventArgs e ) : void
sender object
e LaunchingEventArgs
return void

OnNavigated() protected method

protected OnNavigated ( object sender, System.Windows.Navigation.NavigationEventArgs e ) : void
sender object
e System.Windows.Navigation.NavigationEventArgs
return void

PrepareApplication() protected method

Provides an opportunity to hook into the application object.
protected PrepareApplication ( ) : void
return void

Resurrect() protected method

Resurrects the instances after activation.
protected Resurrect ( IEnumerable instances ) : void
instances IEnumerable The instances to resurrect.
return void

SelectInstancesToResurrect() protected method

Selects all instance which require some sort of re-hydration after tombstoning.
protected SelectInstancesToResurrect ( ) : IEnumerable
return IEnumerable

SelectInstancesToTombstone() protected method

Selects all instance which require some sort of persistence before tombstoning.
protected SelectInstancesToTombstone ( ) : IEnumerable
return IEnumerable

Tombstone() protected method

Persists the specified instances before tombstoning.
protected Tombstone ( IEnumerable instances ) : void
instances IEnumerable The instances to persist.
return void

Property Details

PhoneApplicationInitialized protected_oe property

protected bool PhoneApplicationInitialized
return bool