StateService Methods
Click or drag to resize
StateService Methods

The StateService type exposes the following members.

Methods
  NameDescription
Protected methodAbort
Aborts the current operation without applying any changes.
Public methodCanOperate
Determines whether the service is operational and may perform actions.
(Inherited from RadDockService.)
Protected methodCanStart
Determines whether the service may be started. Validation is as follows: 1. Check whether Enabled is true. 2. Check the context through IsContextValid method. An exception is thrown if context is invalid. 3. Checks the current state - it should be Initial or Stopped.
Protected methodCommit
Ends the current operation and applies all changes.
Public methodDispose
Forces object clean-up and resource release.
(Inherited from RadDockObject.)
Protected methodDispose(Boolean)
Performs the actual dispose logic.
(Inherited from RadDockObject.)
Protected methodDisposeManagedResources
Disposes any managed resources associated with this object.
(Inherited from RadDockObject.)
Protected methodDisposeUnmanagedResources
Disposes any unmanaged resources associated with this instance.
(Inherited from RadDockObject.)
Protected methodIsContextValid
Evaluates the provided context. Some services may not operate without certain context provided.
Protected methodOnDockManagerChanged
Provides additional processing when a change in the owning RadDock instance occurs.
(Overrides RadDockServiceOnDockManagerChanged.)
Protected methodOnEnabledChanged
Provides additional processing for a change in the Enabled state.
(Overrides RadDockServiceOnEnabledChanged.)
Protected methodOnPropertyChanged
Raises the PropertyChanged event.
(Inherited from RadDockObject.)
Protected methodOnPropertyChanging
Raises the PropertyChanging notification.
(Inherited from RadDockObject.)
Protected methodOnStarted
Notifies that the service has been successfully started. Allows inheritors to perform some additional logic upon start.
Protected methodOnStarting
Notifies that a start request has occured. Cancelable.
Protected methodOnStopped
Notifies that a running operation has stopped. Allows inheritors to perform some additional logic upon stop.
Protected methodOnStopping
Notifies that a stop request has occured. Cancelable.
Public methodPause
Pauses a currently running operation.
Protected methodPerformPause
Performs the core Pause logic.
Protected methodPerformResume
Performs the core Resume logic.
Protected methodPerformStart
Performs the core Start logic.
Protected methodPerformStop
Stops the service. Performs the core logic.
Public methodResume
Resumes previously paused operation.
Protected methodSetContext
Sets the provided object as the current context.
Protected methodShouldSerializeProperty
Determines whether the property with the specified name needs serialization.
(Inherited from RadDockObject.)
Public methodStart
Starts the Service. If the service was previously paused, it should be re-started with the Resume method.
Public methodStop
Stops currently working or previously stopped service.
Top
See Also