IPluginServiceRegistrator.cs 611 B

1234567891011121314151617
  1. namespace MediaBrowser.Common.Plugins
  2. {
  3. using Microsoft.Extensions.DependencyInjection;
  4. /// <summary>
  5. /// Defines the <see cref="IPluginRegistrar" />.
  6. /// </summary>
  7. public interface IPluginServiceRegistrator
  8. {
  9. /// <summary>
  10. /// Registers the plugin's services with the service collection.
  11. /// This object is created prior to the plugin creation, so access to other classes is limited.
  12. /// </summary>
  13. /// <param name="serviceCollection">The service collection.</param>
  14. void RegisterServices(IServiceCollection serviceCollection);
  15. }
  16. }