Interface IApp
The entry point of the application.
Namespace: Sartorius.SAF.Presentation.Infrastructure
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public interface IApp
Methods
View SourceCanClose()
Indicates whether the application can be closed.
Declaration
bool CanClose()
Returns
Type | Description |
---|---|
System.Boolean | True if the application can be closed, otherwise false. |
Remarks
This method is called when System.Windows.Application.MainWindow is closing. When this method returns false, the System.ComponentModel.CancelEventArgs.Cancel property is set to true, which prevents closing the System.Windows.Application.MainWindow.
Run()
Runs the application.
Declaration
void Run()
Remarks
This method is called after the bootstrapping process has been finished.