aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/ScheduledTasks/ITaskManager.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-03-07 12:19:44 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-03-07 12:19:44 -0500
commit19ecd450b830aab55a270b5b1e0ba71b45adb489 (patch)
tree70e256d2246a86fde664e599db5deab9a81c31b8 /MediaBrowser.Common/ScheduledTasks/ITaskManager.cs
parentdaf2c28eb7d72a0bedd836b198915cad7db63855 (diff)
sync updates
Diffstat (limited to 'MediaBrowser.Common/ScheduledTasks/ITaskManager.cs')
-rw-r--r--MediaBrowser.Common/ScheduledTasks/ITaskManager.cs18
1 files changed, 16 insertions, 2 deletions
diff --git a/MediaBrowser.Common/ScheduledTasks/ITaskManager.cs b/MediaBrowser.Common/ScheduledTasks/ITaskManager.cs
index 9b3f18274..8d271859e 100644
--- a/MediaBrowser.Common/ScheduledTasks/ITaskManager.cs
+++ b/MediaBrowser.Common/ScheduledTasks/ITaskManager.cs
@@ -18,7 +18,14 @@ namespace MediaBrowser.Common.ScheduledTasks
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="options">Task options.</param>
- void CancelIfRunningAndQueue<T>(TaskExecutionOptions options = null)
+ void CancelIfRunningAndQueue<T>(TaskExecutionOptions options)
+ where T : IScheduledTask;
+
+ /// <summary>
+ /// Cancels if running and queue.
+ /// </summary>
+ /// <typeparam name="T"></typeparam>
+ void CancelIfRunningAndQueue<T>()
where T : IScheduledTask;
/// <summary>
@@ -33,7 +40,14 @@ namespace MediaBrowser.Common.ScheduledTasks
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="options">Task options.</param>
- void QueueScheduledTask<T>(TaskExecutionOptions options = null)
+ void QueueScheduledTask<T>(TaskExecutionOptions options)
+ where T : IScheduledTask;
+
+ /// <summary>
+ /// Queues the scheduled task.
+ /// </summary>
+ /// <typeparam name="T"></typeparam>
+ void QueueScheduledTask<T>()
where T : IScheduledTask;
/// <summary>