2020-10-11 12:19:14 +00:00
|
|
|
namespace MediaBrowser.Common.Plugins
|
|
|
|
{
|
|
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Defines the <see cref="IPluginRegistrar" />.
|
|
|
|
/// </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.
|
|
|
|
/// 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);
|
|
|
|
}
|
|
|
|
}
|