aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/ScheduledTasks/IScheduledTaskWorker.cs
diff options
context:
space:
mode:
authorLukePulverenti <luke.pulverenti@gmail.com>2013-03-07 00:34:00 -0500
committerLukePulverenti <luke.pulverenti@gmail.com>2013-03-07 00:34:00 -0500
commit4f67fc4aefc11c1a4293227c70de922dbe03c652 (patch)
tree67af7ffa36b002969968e06467c624def3e97dc6 /MediaBrowser.Common/ScheduledTasks/IScheduledTaskWorker.cs
parent60545c433b7d383147adb57bb91e720c3b547054 (diff)
removed base kernel and ikernel
Diffstat (limited to 'MediaBrowser.Common/ScheduledTasks/IScheduledTaskWorker.cs')
-rw-r--r--MediaBrowser.Common/ScheduledTasks/IScheduledTaskWorker.cs19
1 files changed, 0 insertions, 19 deletions
diff --git a/MediaBrowser.Common/ScheduledTasks/IScheduledTaskWorker.cs b/MediaBrowser.Common/ScheduledTasks/IScheduledTaskWorker.cs
index 31cb4bcb8..2fa76472d 100644
--- a/MediaBrowser.Common/ScheduledTasks/IScheduledTaskWorker.cs
+++ b/MediaBrowser.Common/ScheduledTasks/IScheduledTaskWorker.cs
@@ -1,7 +1,6 @@
using MediaBrowser.Model.Tasks;
using System;
using System.Collections.Generic;
-using System.Threading.Tasks;
namespace MediaBrowser.Common.ScheduledTasks
{
@@ -64,23 +63,5 @@ namespace MediaBrowser.Common.ScheduledTasks
/// </summary>
/// <value>The unique id.</value>
Guid Id { get; }
-
- /// <summary>
- /// Executes the task
- /// </summary>
- /// <returns>Task.</returns>
- /// <exception cref="System.InvalidOperationException">Cannot execute a Task that is already running</exception>
- Task Execute();
-
- /// <summary>
- /// Stops the task if it is currently executing
- /// </summary>
- /// <exception cref="System.InvalidOperationException">Cannot cancel a Task unless it is in the Running state.</exception>
- void Cancel();
-
- /// <summary>
- /// Cancels if running.
- /// </summary>
- void CancelIfRunning();
}
} \ No newline at end of file