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 |
|---|---|
| bool | True if the application can be closed, otherwise false. |
Remarks
This method is called when MainWindow is closing. When this method returns false, the Cancel property is set to true, which prevents closing the MainWindow.
Run()
Runs the application.
Declaration
void Run()
Remarks
This method is called after the bootstrapping process has been finished.