Update Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
BaronGreenback 2020-10-14 19:03:54 +01:00 committed by GitHub
parent 00b2539a70
commit 0e872ca65c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,7 +137,8 @@ namespace Emby.Server.Implementations.AppBase
/// Manually pre-loads a factory so that it is available pre system initialisation.
/// </summary>
/// <typeparam name="T">Class to register.</typeparam>
public virtual void RegisterConfiguration<T>() where T : IConfigurationFactory
public virtual void RegisterConfiguration<T>()
where T : IConfigurationFactory
{
IConfigurationFactory factory = (IConfigurationFactory)Activator.CreateInstance(typeof(T));