C# Class BudgetAnalyser.ShellController

Inheritance: Rees.Wpf.ControllerBase, IInitializableController
Afficher le fichier Open project: Benrnz/BudgetAnalyser Class Usage Examples

Private Properties

Свойство Type Description
CreateNewDefaultApplicationState IList
OnApplicationStateLoaded void
OnApplicationStateRequested void
OnDialogRequested void

Méthodes publiques

Méthode Description
Initialize ( ) : void
NotifyOfWindowLocationChange ( Point location ) : void
NotifyOfWindowSizeChange ( Point size ) : void
OnViewReady ( ) : void
SaveApplicationState ( ) : void

This method will persist the application state. Application State is user preference settings for the application, window, and last loaded file. Any data that is used for Budgets, reconciliation, reporting belongs in the Application Database.

ShellClosing ( ) : Task

Notify the ShellController the Shell is closing.

ShellController ( [ uiContext, [ statePersistence, [ persistenceOperations ) : System

Private Methods

Méthode Description
CreateNewDefaultApplicationState ( ) : IList
OnApplicationStateLoaded ( [ message ) : void
OnApplicationStateRequested ( Rees.Wpf.ApplicationState.ApplicationStateRequestedMessage message ) : void
OnDialogRequested ( ShellDialogRequestMessage message ) : void

Method Details

Initialize() public méthode

public Initialize ( ) : void
Résultat void

NotifyOfWindowLocationChange() public méthode

public NotifyOfWindowLocationChange ( Point location ) : void
location Point
Résultat void

NotifyOfWindowSizeChange() public méthode

public NotifyOfWindowSizeChange ( Point size ) : void
size Point
Résultat void

OnViewReady() public méthode

public OnViewReady ( ) : void
Résultat void

SaveApplicationState() public méthode

This method will persist the application state. Application State is user preference settings for the application, window, and last loaded file. Any data that is used for Budgets, reconciliation, reporting belongs in the Application Database.
public SaveApplicationState ( ) : void
Résultat void

ShellClosing() public méthode

Notify the ShellController the Shell is closing.
public ShellClosing ( ) : Task
Résultat Task

ShellController() public méthode

public ShellController ( [ uiContext, [ statePersistence, [ persistenceOperations ) : System
uiContext [
statePersistence [
persistenceOperations [
Résultat System