Click or drag to resize

ShutdownService Class

[Missing <summary> documentation for "T:Altaxo.Gui.Workbench.ShutdownService"]

Inheritance Hierarchy
SystemObject
  Altaxo.Gui.WorkbenchShutdownService

Namespace: Altaxo.Gui.Workbench
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class ShutdownService : IShutdownService

The ShutdownService type exposes the following members.

Constructors
 NameDescription
Public methodShutdownServiceInitializes a new instance of the ShutdownService class
Top
Properties
 NameDescription
Public propertyClosedAsync 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.
Public propertyCurrentReasonPreventingShutdown 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.
Public propertyDelayedShutdownToken 
Public propertyIsApplicationClosing 
Public propertyShutdownToken 
Top
Methods
 NameDescription
Public methodAddBackgroundTask 
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodOnClosing 
Protected methodOnClosingStage1_ReasonsPreventingShutdown 
Protected methodOnClosingStage10_PropertyServiceSaveToFile 
Protected methodOnClosingStage2_CloseProject 
Protected methodOnClosingStage3_SignalShutdownToken 
Protected methodOnClosingStage4_CloseAllViews 
Protected methodOnClosingStage5_DisposePads 
Protected methodOnClosingStage6_StopComServer 
Protected methodOnClosingStage7_DisposeProject 
Protected methodOnClosingStage8_WaitForBackgroundTasks 
Protected methodOnClosingStage9_DisposeServices 
Public methodPreventShutdown 
Public methodShutdown 
Public methodSignalShutdownToken 
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventClosed 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.
Top
See Also