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

    /// <summary>
    /// Defines the <see cref="IPluginServiceRegistrator" />.
    /// </summary>
    public interface IPluginServiceRegistrator
    {
        /// <summary>
        /// Registers the plugin's services with the service collection.
        /// </summary>
        /// <remarks>
        /// This interface is only used for service registration and requires a parameterless constructor.
        /// </remarks>
        /// <param name="serviceCollection">The service collection.</param>
        void RegisterServices(IServiceCollection serviceCollection);
    }
}