Shutdown |
[Missing <summary> documentation for "T:Altaxo.Gui.Workbench.ShutdownService"]
public class ShutdownService : IShutdownService
The ShutdownService type exposes the following members.
| Name | Description | |
|---|---|---|
| ShutdownService | Initializes a new instance of the ShutdownService class |
| Name | Description | |
|---|---|---|
| ClosedAsync | Occurs when the project is already closed and the rest of the shutdown procedure starts to happen. This is a weak event in order to prevent garbage collection of item that subscribe to this event. The event is raised during stage 3 OnClosingStage3_SignalShutdownToken. The tasks are executed in parallel on thread-pool threads, thus make sure that the event handlers are thread-safe. | |
| CurrentReasonPreventingShutdown | Gets the current reason that prevents shutdown. If there isn't any reason, returns null. If there are multiple reasons, only one of them is returned. | |
| DelayedShutdownToken | ||
| IsApplicationClosing | ||
| ShutdownToken |
| Name | Description | |
|---|---|---|
| AddBackgroundTask | ||
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| OnClosing | ||
| OnClosingStage1_ReasonsPreventingShutdown | ||
| OnClosingStage10_PropertyServiceSaveToFile | ||
| OnClosingStage2_CloseProject | ||
| OnClosingStage3_SignalShutdownToken | ||
| OnClosingStage4_CloseAllViews | ||
| OnClosingStage5_DisposePads | ||
| OnClosingStage6_StopComServer | ||
| OnClosingStage7_DisposeProject | ||
| OnClosingStage8_WaitForBackgroundTasks | ||
| OnClosingStage9_DisposeServices | ||
| PreventShutdown | ||
| Shutdown | ||
| SignalShutdownToken | ||
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Name | Description | |
|---|---|---|
| Closed | Occurs when the project is already closed and the rest of the shutdown procedure starts to happen. This is a weak event in order to prevent garbage collection of item that subscribe to this event. The event is raised during stage 3 OnClosingStage3_SignalShutdownToken. |