Deli putem


IApplicationModel Members

Include Protected Members
Include Inherited Members

The IApplicationModel type exposes the following members.

Methods

  Name Description
Ff671595.pubmethod(en-us,PandP.50).gif EnsureCanSaveConfigurationFile
Ensures whether a configuration file can be saved to by the application.
Ff671595.pubmethod(en-us,PandP.50).gif Load
Loads a new ConfigurationSourceModel from configurationFilePath.
Ff671595.pubmethod(en-us,PandP.50).gif New
Re-initializes the application with a new ConfigurationSourceModel.
Ff671595.pubmethod(en-us,PandP.50).gif OnSelectedElementChanged
Raises the SelectedElementChanged event.
Ff671595.pubmethod(en-us,PandP.50).gif PromptSaveChangesIfDirtyAndContinue
Prompts the user to save any unsaved changes.
Ff671595.pubmethod(en-us,PandP.50).gif Save Overloaded.
Ff671595.pubmethod(en-us,PandP.50).gif SetDirty
Sets the IsDirty property to truetrue (True in Visual Basic), indicating that the application has unsaved changes.

Properties

  Name Description
Ff671595.pubproperty(en-us,PandP.50).gif ConfigurationFilePath
Gets the path to the currently opened ConfigurationSourceModel.
Ff671595.pubproperty(en-us,PandP.50).gif ExitCommand
Gets an ICommand instance that can be invoked to close the application.
Ff671595.pubproperty(en-us,PandP.50).gif IsDirty
Gets whether the application model contains unsaved changes.
Ff671595.pubproperty(en-us,PandP.50).gif NewConfigurationCommand
Gets an ICommand instance that can be invoked to re-initialize the application with a new ConfigurationSourceModel.
Ff671595.pubproperty(en-us,PandP.50).gif OnCloseAction
Gets or sets the Action that should be performed to close the application.
Ff671595.pubproperty(en-us,PandP.50).gif OpenConfigurationCommand
Gets an ICommand instance that can be invoked to open a new ConfigurationSourceModel.
Ff671595.pubproperty(en-us,PandP.50).gif SaveAsConfigurationCommand
Gets an ICommand instance that can be invoked to save a copy of the current ConfigurationSourceModel.
Ff671595.pubproperty(en-us,PandP.50).gif SaveConfigurationCommand
Gets an ICommand instance that can be invoked to save the current ConfigurationSourceModel.
Ff671595.pubproperty(en-us,PandP.50).gif ValidationModel
Gets the ValidationModel instance for this application.

Events

  Name Description
Ff671595.pubevent(en-us,PandP.50).gif SelectedElementChanged
Occurs when the selected ElementViewModel changed.

See Also

IApplicationModel Interface

Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel.Services Namespace