The BackgroundActionPool TParam, TReturn type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
![]() | BackgroundActionPool TParam, TReturn |
Initializes a new BackgroundActionPool object
|
Methods
Name | Description | |
---|---|---|
![]() | a_OnDone |
This method is called when an action is done. Then it increments the current index
and runs the next, when available. If not, it will raise the OnAllDone-Event.
|
![]() | Add(BackgroundAction TParam, TReturn ) |
Adds a background action to the to do list
|
![]() | Add(BackgroundAction TParam, TReturn , String) |
Adds a background action to the to do list
|
![]() | Cancel |
Performs the current action in running loop and cancels then
|
![]() | Create(Func TParam, TReturn , TParam) |
Returns a new BackgroundAction object containing the current generic types signature
|
![]() | Create(Func TParam, TReturn , TParam, String) |
Returns a new BackgroundAction object containing the current generic types signature
|
![]() | ![]() | (Inherited from ![]() |
![]() | ![]() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ![]() |
![]() | ![]() | Serves as a hash function for a particular type. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | Next |
Triggers the next action in the to do list to perform
|
![]() | Run |
Runs the to do loop
|
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
Fields
Name | Description | |
---|---|---|
![]() | m_iActionsDone |
Contains the count of done actions
|
![]() | m_iCurrentIndex |
Contains the current running action index
|
![]() | m_lstActions |
Contains the list of actions to do
|
Properties
Name | Description | |
---|---|---|
![]() | Canceled |
Indicates whether the run was canceled
|
![]() | CurrentPercentage |
Contains the current progress percentage
|
![]() | CurrentProgressName |
Contains the current tasks name (status text)
|
![]() | Done |
Indicates whether the Run is done
|
Events
Name | Description | |
---|---|---|
![]() | OnAllDone |
Will be raised when all actions in the list are "done"
|
![]() | OnNextProgress |
Will be raised when the next action in the list is called
|
![]() | RunCanceled |
Will be raised when Cancel() was called
|
See Also