Update ApplicationHost.cs

pull/4253/head
BaronGreenback 4 years ago committed by GitHub
parent 257acbc2c9
commit 63e514e6c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -827,11 +827,11 @@ namespace Emby.Server.Implementations
private void RegisterPluginServices()
{
foreach (var pluginServiceRegistrar in GetExportTypes<IPluginRegistrar>())
foreach (var pluginServiceRegistrar in GetExportTypes<IPluginServiceRegistrator>())
{
try
{
var instance = (IPluginRegistrar)Activator.CreateInstance(pluginServiceRegistrar);
var instance = (IPluginServiceRegistrator)Activator.CreateInstance(pluginServiceRegistrar);
instance.RegisterServices(ServiceCollection);
}
catch (Exception ex)

Loading…
Cancel
Save