aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Channels/ChannelConfigurations.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-11-02 16:53:50 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-11-02 16:53:50 -0400
commitd71d2a5d02cf31b67420b54160868247f23546bb (patch)
tree264b96d3ac4ca7cf2040344ffa57e8418b2b5554 /MediaBrowser.Server.Implementations/Channels/ChannelConfigurations.cs
parent8f64a5555b055f42d4c3814725a4e961c2fc980d (diff)
move classes to portable server project
Diffstat (limited to 'MediaBrowser.Server.Implementations/Channels/ChannelConfigurations.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Channels/ChannelConfigurations.cs29
1 files changed, 0 insertions, 29 deletions
diff --git a/MediaBrowser.Server.Implementations/Channels/ChannelConfigurations.cs b/MediaBrowser.Server.Implementations/Channels/ChannelConfigurations.cs
deleted file mode 100644
index 9dfb0404e..000000000
--- a/MediaBrowser.Server.Implementations/Channels/ChannelConfigurations.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-using MediaBrowser.Common.Configuration;
-using MediaBrowser.Model.Configuration;
-using System.Collections.Generic;
-
-namespace MediaBrowser.Server.Implementations.Channels
-{
- public static class ChannelConfigurationExtension
- {
- public static ChannelOptions GetChannelsConfiguration(this IConfigurationManager manager)
- {
- return manager.GetConfiguration<ChannelOptions>("channels");
- }
- }
-
- public class ChannelConfigurationFactory : IConfigurationFactory
- {
- public IEnumerable<ConfigurationStore> GetConfigurations()
- {
- return new List<ConfigurationStore>
- {
- new ConfigurationStore
- {
- Key = "channels",
- ConfigurationType = typeof (ChannelOptions)
- }
- };
- }
- }
-}