From 08ed0a9a5d2a241abe4304e03fab4ae74291e3c9 Mon Sep 17 00:00:00 2001 From: Shadowghost Date: Wed, 4 Sep 2024 17:38:10 +0200 Subject: Cleanup tasks --- MediaBrowser.Model/Tasks/TaskCompletionEventArgs.cs | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'MediaBrowser.Model/Tasks/TaskCompletionEventArgs.cs') 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 { + /// + /// Class containing event arguments for task completion. + /// public class TaskCompletionEventArgs : EventArgs { + /// + /// Initializes a new instance of the class. + /// + /// Instance of the interface. + /// The task result. public TaskCompletionEventArgs(IScheduledTaskWorker task, TaskResult result) { Task = task; Result = result; } + /// + /// Gets the task. + /// + /// The task. public IScheduledTaskWorker Task { get; } + /// + /// Gets the result. + /// + /// The result. public TaskResult Result { get; } } } -- cgit v1.2.3