jellyfin/MediaBrowser.Common/Plugins/IPluginServiceRegistrator.cs

18 lines
611 B
C#
Raw Normal View History

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);
}
}