2020-10-11 08:19:14 -04:00
|
|
|
namespace MediaBrowser.Common.Plugins
|
|
|
|
{
|
|
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
|
|
|
|
/// <summary>
|
2020-10-12 02:51:09 -04:00
|
|
|
/// Defines the <see cref="IPluginServiceRegistrator" />.
|
2020-10-11 08:19:14 -04:00
|
|
|
/// </summary>
|
2020-10-11 18:49:34 -04:00
|
|
|
public interface IPluginServiceRegistrator
|
2020-10-11 08:19:14 -04:00
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Registers the plugin's services with the service collection.
|
|
|
|
/// </summary>
|
2020-11-09 06:26:06 -05:00
|
|
|
/// <remarks>
|
|
|
|
/// This interface is only used for service registration and requires a parameterless constructor.
|
|
|
|
/// </remarks>
|
2020-10-11 08:19:14 -04:00
|
|
|
/// <param name="serviceCollection">The service collection.</param>
|
|
|
|
void RegisterServices(IServiceCollection serviceCollection);
|
|
|
|
}
|
|
|
|
}
|