mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-08 20:38:24 +02:00
19 lines
668 B
C#
19 lines
668 B
C#
namespace MediaBrowser.Common.Plugins
|
|
{
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
/// <summary>
|
|
/// Defines the <see cref="IPluginServiceRegistrator" />.
|
|
/// </summary>
|
|
public interface IPluginServiceRegistrator
|
|
{
|
|
/// <summary>
|
|
/// Registers the plugin's services with the service collection.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// This interface is only used for service registration and requires a parameterless constructor.
|
|
/// </remarks>
|
|
/// <param name="serviceCollection">The service collection.</param>
|
|
void RegisterServices(IServiceCollection serviceCollection);
|
|
}
|
|
}
|