AsyncCommand Class |
Namespace: NetQuarry.Threading
The AsyncCommand type exposes the following members.
Name | Description | |
---|---|---|
AsyncCommand | Initializes a new instance of the AsyncCommand class |
Name | Description | |
---|---|---|
Application |
Returns the cloned application object. This instance of the object will be closed and destroyed when the process is ended.
| |
IsStopped |
Returns true if the command has been signaled to stop
|
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (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.) | |
Run |
Called by Start(IAppContext) to execute the asynchronous process.
| |
Start |
Queue the item into the thread pool
| |
Stop |
Call from another thread to signal the process (executing in the abstract Run method) that it should stop execution.
| |
ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
EqualValue |
Determines if the object value is equal to another object. If the two objects are null, then this returns true.
There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways).
If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.) |