Class AbstractWorker
Abstract class for the thread worker.
[Obsolete("Class was not intended for public use and will be removed.")]
[ObsoleteSince(29, 3)]
public abstract class AbstractWorker
- Inheritance
-
objectAbstractWorker
- Derived
- Extension Methods
Properties
RunInSequence
If true, the thread is a part of the sequence and should perform the actions after the previous thread finishes.
[Obsolete("Method was not intended for public use and will be removed.")]
[ObsoleteSince(29, 3)]
public bool RunInSequence { get; set; }
Property Value
- bool
Methods
RaiseStop()
Raises OnStop event.
protected void RaiseStop()
Run()
Runs the action.
public abstract void Run()
RunAsync()
Runs the worker as a new thread.
[Obsolete("Method was not intended for public use and will be removed in the next version.")]
[ObsoleteSince(29, 3)]
public virtual void RunAsync()
Events
OnStop
Raised when worker finishes.
public event EventHandler OnStop
Event Type
- EventHandler