Added extra functionality to support registrar.

This commit is contained in:
Greenback
2020-10-11 13:19:14 +01:00
parent 7459baac8b
commit 0b73a1d90f
6 changed files with 83 additions and 85 deletions

View File

@@ -46,6 +46,12 @@ namespace MediaBrowser.Common.Configuration
/// <param name="newConfiguration">The new configuration.</param>
void ReplaceConfiguration(BaseApplicationConfiguration newConfiguration);
/// <summary>
/// Manually pre-loads a factory so that it is available pre system initialisation.
/// </summary>
/// <typeparam name="T">Class to register.</typeparam>
void RegisterConfiguration<T>();
/// <summary>
/// Gets the configuration.
/// </summary>