2020-10-11 05:19:14 -07:00
|
|
|
namespace MediaBrowser.Common.Plugins
|
|
|
|
{
|
|
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
|
|
|
|
/// <summary>
|
2020-10-11 23:51:09 -07:00
|
|
|
/// Defines the <see cref="IPluginServiceRegistrator" />.
|
2020-10-11 05:19:14 -07:00
|
|
|
/// </summary>
|
2020-10-11 15:49:34 -07:00
|
|
|
public interface IPluginServiceRegistrator
|
2020-10-11 05:19:14 -07:00
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Registers the plugin's services with the service collection.
|
|
|
|
/// This object is created prior to the plugin creation, so access to other classes is limited.
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="serviceCollection">The service collection.</param>
|
|
|
|
void RegisterServices(IServiceCollection serviceCollection);
|
|
|
|
}
|
|
|
|
}
|