TaskService class
Service to handle all background work - Task running on software.
public class TaskService
Public Members
| name | description |
|---|---|
| TaskService() | Initializes a new instance of the TaskService class. |
| BackgroundTaskLastRun { get; set; } | Gets or sets when was the background task last run?. |
| BackgroundTaskRunning { get; set; } | Gets or sets a value indicating whether is background task runinng?. |
| BackgroundTaskShodbeRunning { get; set; } | Gets or sets a value indicating whether shod background task be running?. |
| BackgroundTaskChecker() | Background woker checker. |
| CancelTask(…) | Cancel task. |
| Check(…) | Check a task. if the task is done. remove it from dictonary. |
| GetStatus(…) | Get status of a task. |
| IsCancellationRequested(…) | Shod this task be cancel?. |
| StartNew(…) | Start a new task to run. |
| TaskExists(…) | Do the taskname exist?. |
See Also
- namespace LiTools.Helpers.Organize
- TaskService.cs