diff options
Diffstat (limited to 'MediaBrowser.Common/Kernel/IKernel.cs')
| -rw-r--r-- | MediaBrowser.Common/Kernel/IKernel.cs | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/MediaBrowser.Common/Kernel/IKernel.cs b/MediaBrowser.Common/Kernel/IKernel.cs index 253368f4f..fb629a24d 100644 --- a/MediaBrowser.Common/Kernel/IKernel.cs +++ b/MediaBrowser.Common/Kernel/IKernel.cs @@ -1,6 +1,5 @@ using MediaBrowser.Common.Net; using MediaBrowser.Common.Plugins; -using MediaBrowser.Common.Serialization; using MediaBrowser.Model.Configuration; using MediaBrowser.Model.System; using System; @@ -18,7 +17,7 @@ namespace MediaBrowser.Common.Kernel /// Gets the application paths. /// </summary> /// <value>The application paths.</value> - BaseApplicationPaths ApplicationPaths { get; } + IApplicationPaths ApplicationPaths { get; } /// <summary> /// Gets the configuration. @@ -33,12 +32,6 @@ namespace MediaBrowser.Common.Kernel KernelContext KernelContext { get; } /// <summary> - /// Gets the protobuf serializer. - /// </summary> - /// <value>The protobuf serializer.</value> - DynamicProtobufSerializer ProtobufSerializer { get; } - - /// <summary> /// Inits this instance. /// </summary> /// <returns>Task.</returns> @@ -156,5 +149,13 @@ namespace MediaBrowser.Common.Kernel /// Notifies the pending restart. /// </summary> void NotifyPendingRestart(); + + /// <summary> + /// Gets the XML configuration. + /// </summary> + /// <param name="type">The type.</param> + /// <param name="path">The path.</param> + /// <returns>System.Object.</returns> + object GetXmlConfiguration(Type type, string path); } } |
