diff options
| author | Shadowghost <Ghost_of_Stone@web.de> | 2024-09-04 17:38:10 +0200 |
|---|---|---|
| committer | Shadowghost <Ghost_of_Stone@web.de> | 2024-09-04 17:38:10 +0200 |
| commit | 08ed0a9a5d2a241abe4304e03fab4ae74291e3c9 (patch) | |
| tree | 5e591bea0a6b2f9b8705aad7e5e44e1cb2768b5c /Emby.Server.Implementations/ScheduledTasks/Tasks/PeopleValidationTask.cs | |
| parent | 737a1b8a37e95bb4ed5e622d53209fa498239084 (diff) | |
Cleanup tasks
Diffstat (limited to 'Emby.Server.Implementations/ScheduledTasks/Tasks/PeopleValidationTask.cs')
| -rw-r--r-- | Emby.Server.Implementations/ScheduledTasks/Tasks/PeopleValidationTask.cs | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/Emby.Server.Implementations/ScheduledTasks/Tasks/PeopleValidationTask.cs b/Emby.Server.Implementations/ScheduledTasks/Tasks/PeopleValidationTask.cs index 7d60ea731..c63bad474 100644 --- a/Emby.Server.Implementations/ScheduledTasks/Tasks/PeopleValidationTask.cs +++ b/Emby.Server.Implementations/ScheduledTasks/Tasks/PeopleValidationTask.cs @@ -1,5 +1,3 @@ -#pragma warning disable CS1591 - using System; using System.Collections.Generic; using System.Threading; @@ -13,37 +11,41 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks /// <summary> /// Class PeopleValidationTask. /// </summary> - public class PeopleValidationTask : IScheduledTask + public class PeopleValidationTask : IScheduledTask, IConfigurableScheduledTask { - /// <summary> - /// The library manager. - /// </summary> private readonly ILibraryManager _libraryManager; private readonly ILocalizationManager _localization; /// <summary> /// Initializes a new instance of the <see cref="PeopleValidationTask" /> class. /// </summary> - /// <param name="libraryManager">The library manager.</param> - /// <param name="localization">The localization manager.</param> + /// <param name="libraryManager">Instance of the <see cref="ILibraryManager"/> interface.</param> + /// <param name="localization">Instance of the <see cref="ILocalizationManager"/> interface.</param> public PeopleValidationTask(ILibraryManager libraryManager, ILocalizationManager localization) { _libraryManager = libraryManager; _localization = localization; } + /// <inheritdoc /> public string Name => _localization.GetLocalizedString("TaskRefreshPeople"); + /// <inheritdoc /> public string Description => _localization.GetLocalizedString("TaskRefreshPeopleDescription"); + /// <inheritdoc /> public string Category => _localization.GetLocalizedString("TasksLibraryCategory"); + /// <inheritdoc /> public string Key => "RefreshPeople"; + /// <inheritdoc /> public bool IsHidden => false; + /// <inheritdoc /> public bool IsEnabled => true; + /// <inheritdoc /> public bool IsLogged => true; /// <summary> |
