From 2ca4b7d03adfa3cc7c9c6a597a11762142d5b34b Mon Sep 17 00:00:00 2001 From: LukePulverenti Date: Mon, 4 Mar 2013 00:43:06 -0500 Subject: Created IConfigurationManager --- MediaBrowser.Common/Kernel/IKernel.cs | 46 ++--------------------------------- 1 file changed, 2 insertions(+), 44 deletions(-) (limited to 'MediaBrowser.Common/Kernel/IKernel.cs') diff --git a/MediaBrowser.Common/Kernel/IKernel.cs b/MediaBrowser.Common/Kernel/IKernel.cs index 1a2d86d7f..51677677a 100644 --- a/MediaBrowser.Common/Kernel/IKernel.cs +++ b/MediaBrowser.Common/Kernel/IKernel.cs @@ -1,35 +1,18 @@ -using MediaBrowser.Common.Plugins; -using MediaBrowser.Common.Security; -using MediaBrowser.Model.Configuration; -using MediaBrowser.Model.System; +using MediaBrowser.Model.System; using System; -using System.Collections.Generic; -using System.Threading.Tasks; namespace MediaBrowser.Common.Kernel { /// /// Interface IKernel /// - public interface IKernel : IDisposable + public interface IKernel { /// /// Occurs when [has pending restart changed]. /// event EventHandler HasPendingRestartChanged; - /// - /// Gets the application paths. - /// - /// The application paths. - IApplicationPaths ApplicationPaths { get; } - - /// - /// Gets the configuration. - /// - /// The configuration. - BaseApplicationConfiguration Configuration { get; } - /// /// Gets the kernel context. /// @@ -83,34 +66,9 @@ namespace MediaBrowser.Common.Kernel /// The HTTP server URL prefix. string HttpServerUrlPrefix { get; } - /// - /// Gets the plug-in security manager. - /// - /// The plug-in security manager. - ISecurityManager SecurityManager { get; set; } - - /// - /// Occurs when [configuration updated]. - /// - event EventHandler ConfigurationUpdated; - /// /// Notifies the pending restart. /// void NotifyPendingRestart(); - - /// - /// Gets the XML configuration. - /// - /// The type. - /// The path. - /// System.Object. - object GetXmlConfiguration(Type type, string path); - - /// - /// Limits simultaneous access to various resources - /// - /// The resource pools. - ResourcePool ResourcePools { get; set; } } } -- cgit v1.2.3