C# Class BudgetAnalyser.ShellController

Inheritance: Rees.Wpf.ControllerBase, IInitializableController
ファイルを表示 Open project: Benrnz/BudgetAnalyser Class Usage Examples

Private Properties

Property Type Description
CreateNewDefaultApplicationState IList
OnApplicationStateLoaded void
OnApplicationStateRequested void
OnDialogRequested void

Public Methods

Method 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

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

Method Details

Initialize() public method

public Initialize ( ) : void
return void

NotifyOfWindowLocationChange() public method

public NotifyOfWindowLocationChange ( Point location ) : void
location Point
return void

NotifyOfWindowSizeChange() public method

public NotifyOfWindowSizeChange ( Point size ) : void
size Point
return void

OnViewReady() public method

public OnViewReady ( ) : void
return void

SaveApplicationState() public method

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

ShellClosing() public method

Notify the ShellController the Shell is closing.
public ShellClosing ( ) : Task
return Task

ShellController() public method

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