Selaa lähdekoodia

Update IConfigurationManager.cs

BaronGreenback 4 vuotta sitten
vanhempi
sitoutus
c7364be743

+ 1 - 1
MediaBrowser.Common/Configuration/IConfigurationManager.cs

@@ -50,7 +50,7 @@ namespace MediaBrowser.Common.Configuration
         /// Manually pre-loads a factory so that it is available pre system initialisation.
         /// Manually pre-loads a factory so that it is available pre system initialisation.
         /// </summary>
         /// </summary>
         /// <typeparam name="T">Class to register.</typeparam>
         /// <typeparam name="T">Class to register.</typeparam>
-        void RegisterConfiguration<T>();
+        void RegisterConfiguration<T>() where T : IConfigurationFactory;
 
 
         /// <summary>
         /// <summary>
         /// Gets the configuration.
         /// Gets the configuration.