aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/Plugins/IPluginServiceRegistrator.cs
blob: 4e6265fe2429c450bfca441787378426aaacffeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
namespace MediaBrowser.Common.Plugins
{
    using Microsoft.Extensions.DependencyInjection;

    /// <summary>
    /// Defines the <see cref="IPluginRegistrar" />.
    /// </summary>
    public interface IPluginServiceRegistrator
    {
        /// <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);
    }
}