diff options
| author | Bond-009 <bond.009@outlook.com> | 2023-11-12 16:23:11 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-12 16:23:11 +0100 |
| commit | fc694289a9ff5fd668a461cbdb665eb492dc504f (patch) | |
| tree | 934c4c0e2ad70ec8e872a1dc05a8aeb33ca6dce0 /MediaBrowser.Controller | |
| parent | 4288106acdcd36d6d18c9f1be884f791e4e5170b (diff) | |
| parent | b0120d5d4ce787c2a44f2d172d0760b545804e0f (diff) | |
Merge pull request #10557 from barronpm/dlna-plugin
Move DLNA to Plugin (Part 1)
Diffstat (limited to 'MediaBrowser.Controller')
| -rw-r--r-- | MediaBrowser.Controller/Plugins/IPluginServiceRegistrator.cs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Plugins/IPluginServiceRegistrator.cs b/MediaBrowser.Controller/Plugins/IPluginServiceRegistrator.cs new file mode 100644 index 000000000..8b62f3808 --- /dev/null +++ b/MediaBrowser.Controller/Plugins/IPluginServiceRegistrator.cs @@ -0,0 +1,19 @@ +using Microsoft.Extensions.DependencyInjection; + +namespace MediaBrowser.Controller.Plugins; + +/// <summary> +/// Defines the <see cref="IPluginServiceRegistrator" />. +/// </summary> +/// <remarks> +/// This interface is only used for service registration and requires a parameterless constructor. +/// </remarks> +public interface IPluginServiceRegistrator +{ + /// <summary> + /// Registers the plugin's services with the service collection. + /// </summary> + /// <param name="serviceCollection">The service collection.</param> + /// <param name="applicationHost">The server application host.</param> + void RegisterServices(IServiceCollection serviceCollection, IServerApplicationHost applicationHost); +} |
