aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Tasks/TaskCompletionEventArgs.cs
diff options
context:
space:
mode:
authorShadowghost <Ghost_of_Stone@web.de>2024-09-04 17:38:10 +0200
committerShadowghost <Ghost_of_Stone@web.de>2024-09-04 17:38:10 +0200
commit08ed0a9a5d2a241abe4304e03fab4ae74291e3c9 (patch)
tree5e591bea0a6b2f9b8705aad7e5e44e1cb2768b5c /MediaBrowser.Model/Tasks/TaskCompletionEventArgs.cs
parent737a1b8a37e95bb4ed5e622d53209fa498239084 (diff)
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; }
}
}