C# Класс Caliburn.Micro.PhoneBootstrapper

A custom bootstrapper designed to setup phone applications.
Наследование: Bootstrapper
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
PhoneApplicationInitialized bool

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

Метод Описание
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.

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

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

Occurs when a previously tombstoned application instance is resurrected.
protected OnActivate ( object sender, ActivatedEventArgs e ) : void
sender object
e ActivatedEventArgs
Результат void

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

Occurs when the application is closing.
protected OnClose ( object sender, ClosingEventArgs e ) : void
sender object
e ClosingEventArgs
Результат void

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

Occurs when the application is being tombstoned.
protected OnDeactivate ( object sender, DeactivatedEventArgs e ) : void
sender object
e DeactivatedEventArgs
Результат void

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

Occurs when a fresh instance of the application is launching.
protected OnLaunch ( object sender, LaunchingEventArgs e ) : void
sender object
e LaunchingEventArgs
Результат void

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

protected OnNavigated ( object sender, System.Windows.Navigation.NavigationEventArgs e ) : void
sender object
e System.Windows.Navigation.NavigationEventArgs
Результат void

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

Provides an opportunity to hook into the application object.
protected PrepareApplication ( ) : void
Результат void

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

Resurrects the instances after activation.
protected Resurrect ( IEnumerable instances ) : void
instances IEnumerable The instances to resurrect.
Результат void

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

Selects all instance which require some sort of re-hydration after tombstoning.
protected SelectInstancesToResurrect ( ) : IEnumerable
Результат IEnumerable

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

Selects all instance which require some sort of persistence before tombstoning.
protected SelectInstancesToTombstone ( ) : IEnumerable
Результат IEnumerable

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

Persists the specified instances before tombstoning.
protected Tombstone ( IEnumerable instances ) : void
instances IEnumerable The instances to persist.
Результат void

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

PhoneApplicationInitialized защищенное свойство

protected bool PhoneApplicationInitialized
Результат bool