Click or drag to resize
ThreadWorkerT Methods

The ThreadWorkerT generic type exposes the following members.

Methods
  NameDescription
Protected methodCreateThread
Creates a worker thread object. Override to modify the thread configuration
Protected methodDoMaintenance
Runs the maintenance routine for the worker
Public methodStatic memberEnsureRunningThread
Ensures a running thread for this processor
Protected methodFinish
Finishes the worker process. Implement this method to specify what the worker must do in order to not lose its internal data when being finished. Leave empty if no extra action is required.
Protected methodInitialize
Initializes the worker. Runs in the worker thread before the thread processes the first iteration.
Public methodStatic memberIsThreadRunning
Returns true if the worker thread is currently running
Protected methodProcess
Method processing actions.
Public methodStatic memberRegister
Registers the worker so that it runs within the system
Protected methodRegisterInternal
Registers the worker
Public methodStatic memberReset
Resets the worker
Protected methodResetInternal
Resets the worker
Protected methodRun
Runs the action.
Protected methodRunAsync
Runs the task in an asynchronous thread.
Protected methodRunMaintenance
Runs the maintenance routine for the worker if it should run.
Protected methodRunProcess
Runs the internal process of the worker
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
See Also