aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/Configuration/IConfigurationManager.cs
diff options
context:
space:
mode:
authorGreenback <jimcartlidge@yahoo.co.uk>2020-10-10 14:05:19 +0100
committerGreenback <jimcartlidge@yahoo.co.uk>2020-10-10 14:05:19 +0100
commit6dc81ec8e8e25ed73d6d8ad932de57774f3a4418 (patch)
tree383bd2dcba20406c111cc311e592bb21d2e8d964 /MediaBrowser.Common/Configuration/IConfigurationManager.cs
parentebe650afa9e622d3f9e53e50b42ea676fdc25e6e (diff)
Changes to support network config
Diffstat (limited to 'MediaBrowser.Common/Configuration/IConfigurationManager.cs')
-rw-r--r--MediaBrowser.Common/Configuration/IConfigurationManager.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/MediaBrowser.Common/Configuration/IConfigurationManager.cs b/MediaBrowser.Common/Configuration/IConfigurationManager.cs
index 7bcd4d8ed..17520f8a3 100644
--- a/MediaBrowser.Common/Configuration/IConfigurationManager.cs
+++ b/MediaBrowser.Common/Configuration/IConfigurationManager.cs
@@ -47,12 +47,12 @@ namespace MediaBrowser.Common.Configuration
void ReplaceConfiguration(BaseApplicationConfiguration newConfiguration);
/// <summary>
- /// Gets the configuration.
+ /// Manually pre-loads a factory so that it is available pre system initialisation.
/// </summary>
- /// <param name="key">The key.</param>
- /// <param name="objectType">Optional parameter containing the key object to create, if it hasn't been registered.</param>
- /// <returns>System.Object.</returns>
- object GetConfiguration(string key, Type objectType = null);
+ /// <typeparam name="T">Class to register.</typeparam>
+ void RegisterConfiguration<T>();
+
+ object GetConfiguration(string key);
/// <summary>
/// Gets the type of the configuration.