Replaces inheritdoc with explicit documentation

This commit is contained in:
BinaryAlley committed 2026-08-14 10:05:16 -07:00
1 parent 8f3304d231
commit 0e0e67ca73
40 files changed
+243 -61

No files matched your search

@@ -60,7 +60,13 @@ internal sealed class BooksFileSystemDiscoveryJob : MediaLibraryScanJob, IBooksF
_serviceScopeFactory = serviceScopeFactory;
}
/// <inheritdoc/>
/// <summary>
/// Executes the payload of the media library scan job.
/// </summary>
/// <typeparam name="TInput">The type of the input parameter representing the data to be processed by this payload.</typeparam>
/// <param name="id">The id of the media library scan job.</param>
/// <param name="input">The input data to be processed by this payload.</param>
/// <param name="cancellationToken">Cancellation token that can be used to stop the execution.</param>
public override async Task ExecuteAsync<TInput>(Guid id, TInput input, CancellationToken cancellationToken)
{
try
@@ -42,7 +42,11 @@ internal sealed class PluginDetectionSyncJob : BackgroundService
_logger = logger;
}
/// <inheritdoc/>
/// <summary>
/// This method is called when the <see cref="IHostedService"/> starts. The implementation should return a task that represents the lifetime of the long running operation(s) being performed.
/// </summary>
/// <param name="stoppingToken">Triggered when <see cref="IHostedService.StopAsync(CancellationToken)"/> is called.</param>
/// <returns>A <see cref="Task"/> that represents the long running operations.</returns>
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
{
foreach (string loadError in _loadErrors)
@@ -23,7 +23,11 @@ internal sealed class PluginLoadContext : AssemblyLoadContext
_pluginDirectory = pluginDirectory;
}
/// <inheritdoc/>
/// <summary>
/// Loads the assembly whose assembly name is specified.
/// </summary>
/// <param name="assemblyName">The object that describes the assembly to be loaded.</param>
/// <returns>The loaded assembly, or <see langword="null"/> when it cannot be resolved.</returns>
protected override Assembly? Load(AssemblyName assemblyName)
{
if (assemblyName.Name is null)
@@ -24,13 +24,20 @@ internal sealed class PluginManager : IPluginManager
_pluginsById = plugins.ToDictionary(plugin => plugin.Id);
}
/// <inheritdoc/>
/// <summary>
/// Gets the plugins that were loaded successfully.
/// </summary>
/// <returns>The collection of loaded plugins.</returns>
public IReadOnlyList<IPlugin> GetPlugins()
{
return [.. _pluginsById.Values];
}
/// <inheritdoc/>
/// <summary>
/// Gets the plugin identified by <paramref name="pluginId"/>.
/// </summary>
/// <param name="pluginId">The unique identifier of the plugin.</param>
/// <returns>The plugin, or <see langword="null"/> when no plugin with the provided Id was loaded.</returns>
public IPlugin? GetPlugin(Guid pluginId)
{
return _pluginsById.GetValueOrDefault(pluginId);
@@ -33,7 +33,12 @@ internal sealed class PluginSettingsStore : IPluginSettingsStore
_logger = logger;
}
/// <inheritdoc/>
/// <summary>
/// Gets the settings persisted by the host for the plugin identified by <paramref name="pluginId"/>.
/// </summary>
/// <param name="pluginId">The unique identifier of the plugin whose settings are read.</param>
/// <param name="cancellationToken">Cancellation token that can be used to cancel the operation.</param>
/// <returns>The persisted settings keyed by setting key, or <see langword="null"/> when no settings were persisted for the plugin.</returns>
public async Task<IReadOnlyDictionary<string, string>?> GetSettingsAsync(Guid pluginId, CancellationToken cancellationToken)
{
Result<PluginEntity?> getPluginResult = await _unitOfWork.PluginRepository.GetByIdAsync(pluginId, cancellationToken).ConfigureAwait(false);