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