diff options
| author | BaronGreenback <jimcartlidge@yahoo.co.uk> | 2020-10-14 19:03:54 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-14 19:03:54 +0100 |
| commit | 0e872ca65ccae174a0e4090f6a3197d6337356d6 (patch) | |
| tree | 863dc0ec3fade83cee5d765b163eb0cec4fa2e8a /Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs | |
| parent | 00b2539a7013abea12596333dbcce146bbd72745 (diff) | |
Update Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
Diffstat (limited to 'Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs b/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs index ca52b80cc..bb22c31fe 100644 --- a/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs +++ b/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs @@ -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)); |
