aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Tasks/IScheduledTask.cs
diff options
context:
space:
mode:
authorVasily <JustAMan@users.noreply.github.com>2020-06-03 12:26:54 +0300
committerGitHub <noreply@github.com>2020-06-03 12:26:54 +0300
commit668e10ceb79fcce5713fced0cf8e6fc055105e82 (patch)
tree2d40285824ba70c6f8faf9997091615a266c471c /MediaBrowser.Model/Tasks/IScheduledTask.cs
parentc31b2798a521e6bfe7c6b078306a1b2244c0ea93 (diff)
parent959a9655c8a6d04b1b056a5ab3a02b546af03c3f (diff)
Merge pull request #2767 from Bond-009/nullable3
Enable nullabe reference types for MediaBrowser.Model
Diffstat (limited to 'MediaBrowser.Model/Tasks/IScheduledTask.cs')
-rw-r--r--MediaBrowser.Model/Tasks/IScheduledTask.cs11
1 files changed, 6 insertions, 5 deletions
diff --git a/MediaBrowser.Model/Tasks/IScheduledTask.cs b/MediaBrowser.Model/Tasks/IScheduledTask.cs
index ed160e176..bf87088e4 100644
--- a/MediaBrowser.Model/Tasks/IScheduledTask.cs
+++ b/MediaBrowser.Model/Tasks/IScheduledTask.cs
@@ -1,5 +1,3 @@
-#pragma warning disable CS1591
-
using System;
using System.Collections.Generic;
using System.Threading;
@@ -8,16 +6,19 @@ using System.Threading.Tasks;
namespace MediaBrowser.Model.Tasks
{
/// <summary>
- /// Interface IScheduledTaskWorker
+ /// Interface IScheduledTaskWorker.
/// </summary>
public interface IScheduledTask
{
/// <summary>
- /// Gets the name of the task
+ /// Gets the name of the task.
/// </summary>
/// <value>The name.</value>
string Name { get; }
+ /// <summary>
+ /// Gets the key of the task.
+ /// </summary>
string Key { get; }
/// <summary>
@@ -33,7 +34,7 @@ namespace MediaBrowser.Model.Tasks
string Category { get; }
/// <summary>
- /// Executes the task
+ /// Executes the task.
/// </summary>
/// <param name="cancellationToken">The cancellation token.</param>
/// <param name="progress">The progress.</param>