From 97ee9fed14e3b5d76805cd79d4378c0b71c0abd9 Mon Sep 17 00:00:00 2001 From: LukePulverenti Luke Pulverenti luke pulverenti Date: Wed, 25 Jul 2012 22:33:11 -0400 Subject: Switched to MEF as a means to locate plugins and resolvers --- .../Configuration/ConfigurationController.cs | 37 ---------------------- 1 file changed, 37 deletions(-) delete mode 100644 MediaBrowser.Common/Configuration/ConfigurationController.cs (limited to 'MediaBrowser.Common/Configuration/ConfigurationController.cs') diff --git a/MediaBrowser.Common/Configuration/ConfigurationController.cs b/MediaBrowser.Common/Configuration/ConfigurationController.cs deleted file mode 100644 index 547d195f5a..0000000000 --- a/MediaBrowser.Common/Configuration/ConfigurationController.cs +++ /dev/null @@ -1,37 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.IO; -using MediaBrowser.Common.Json; - -namespace MediaBrowser.Common.Configuration -{ - public class ConfigurationController - where TConfigurationType : BaseConfiguration, new () - { - /// - /// The path to the configuration file - /// - public string Path { get; set; } - - public TConfigurationType Configuration { get; set; } - - public void Reload() - { - if (!File.Exists(Path)) - { - Configuration = new TConfigurationType(); - } - else - { - Configuration = JsonSerializer.DeserializeFromFile(Path); - } - } - - public void Save() - { - } - } -} -- cgit v1.2.3