aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Tasks/TaskCompletionEventArgs.cs
diff options
context:
space:
mode:
authorNiels van Velzen <nielsvanvelzen@users.noreply.github.com>2024-09-06 21:58:04 +0200
committerGitHub <noreply@github.com>2024-09-06 21:58:04 +0200
commit435e50fd9abe63037d459a68cdce62f023eaa84f (patch)
tree46476c4e9c8a186f9f8cae9500070c41aba94bcb /MediaBrowser.Model/Tasks/TaskCompletionEventArgs.cs
parentbafbc2372c3e2b3530de4a7a2ac94043b5950176 (diff)
parent994266a54f60d89efd4bc54580f2340d70baf59f (diff)
Merge pull request #12578 from Shadowghost/task-cleanup
Cleanup tasks
Diffstat (limited to 'MediaBrowser.Model/Tasks/TaskCompletionEventArgs.cs')
-rw-r--r--MediaBrowser.Model/Tasks/TaskCompletionEventArgs.cs18
1 files changed, 16 insertions, 2 deletions
diff --git a/MediaBrowser.Model/Tasks/TaskCompletionEventArgs.cs b/MediaBrowser.Model/Tasks/TaskCompletionEventArgs.cs
index 48950667e..ab2c0ada5 100644
--- a/MediaBrowser.Model/Tasks/TaskCompletionEventArgs.cs
+++ b/MediaBrowser.Model/Tasks/TaskCompletionEventArgs.cs
@@ -1,19 +1,33 @@
-#pragma warning disable CS1591
-
using System;
namespace MediaBrowser.Model.Tasks
{
+ /// <summary>
+ /// Class containing event arguments for task completion.
+ /// </summary>
public class TaskCompletionEventArgs : EventArgs
{
+ /// <summary>
+ /// Initializes a new instance of the <see cref="TaskCompletionEventArgs"/> class.
+ /// </summary>
+ /// <param name="task">Instance of the <see cref="IScheduledTaskWorker"/> interface.</param>
+ /// <param name="result">The task result.</param>
public TaskCompletionEventArgs(IScheduledTaskWorker task, TaskResult result)
{
Task = task;
Result = result;
}
+ /// <summary>
+ /// Gets the task.
+ /// </summary>
+ /// <value>The task.</value>
public IScheduledTaskWorker Task { get; }
+ /// <summary>
+ /// Gets the result.
+ /// </summary>
+ /// <value>The result.</value>
public TaskResult Result { get; }
}
}