Namespace LemonEdge.Client.Core.Tasks
Classes
CancelTask
This command is used to cancel the specified IServerTask by setting Cancel to true which the task service uses to activate the CancellationToken used by any task.
ClientTaskProgressDisplayer
An implementation of ITaskStatusDisplayer used for monitoring locally executing tasks and being able to display them in the client application.
This tracker implements the IProgressReporter which is used by the locally executing task, meaning as the task updates its progress it is in fact automatically updating this trackers display of the tasks progress
ClientTaskRunner
An implementation of the TaskRunnerBase that can execute a provided IServerTask locally on the client application
MultiTaskTracker
A tracker that tracks the status of multiple tasks at once and provides a summarized view of the progress of all tasks being tracked
OpenOrRefreshResultItem
A base IClientTaskResultHandler for processing IServerTask results that indicate an entity type, and item (or collection there of) have had their data changed
This handler will open, or refresh, each entity type/id specified as being part of the results of a task so the user can see those items immediately as being data this task updated
OpenOrRefreshResultItem<T>
An implementation of OpenOrRefreshResultItem that works with a specific type T
of the result type to be processed for a task
This handler will open, or refresh, each entity type/id specified as being part of the results of a task so the user can see those items immediately as being data this task updated
ServerTaskProgressDisplayer
An implementation of ITaskStatusDisplayer used for monitoring remotely executing tasks, and polling their status in order to display them in the client application.
TransactionRevertResultHandler
A client handler for all UNIQUE_TASK_ID tasks.
Opens, or refreshes, the transaction item that was reverted by the running of that task
Interfaces
IClientTaskResultHandler
Provides a mechanism for the client to process task results that can also interact with the client UI rather than just perform internal processing
For instance the LemonEdge.API.Tasks.Process.ExportCSVTask task has a base handler that writes the results to a file, and a IClientTaskResultHandler that opens that file on the client application for the user to view.
IPollingTaskStatusDisplayer
This interface is for the client being able to display the progress of an executing IServerTask by polling for the status/progress change. Typically only done with a remotely executing task.
ITaskStatusDisplayer
This interface is for the client being able to display the progress of a locally or remotely executing IServerTask