jellyfin/MediaBrowser.Common/Plugins/IPluginRegistrar.cs

18 lines
602 B
C#

namespace MediaBrowser.Common.Plugins
{
using Microsoft.Extensions.DependencyInjection;
/// <summary>
/// Defines the <see cref="IPluginRegistrar" />.
/// </summary>
public interface IPluginRegistrar
{
/// <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);
}
}