mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 09:11:10 +00:00
Replaces inheritdoc with explicit documentation
This commit is contained in:
1 parent
8f3304d231
commit
0e0e67ca73
40 files changed
+243
-61
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user