mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-20 09:04:42 +01:00
Merge pull request #10557 from barronpm/dlna-plugin
Move DLNA to Plugin (Part 1)
This commit is contained in:
19
MediaBrowser.Controller/Plugins/IPluginServiceRegistrator.cs
Normal file
19
MediaBrowser.Controller/Plugins/IPluginServiceRegistrator.cs
Normal file
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user