소스 검색

Move LiveTvConfigurationFactory to Configuration folder

Patrick Barron 1 년 전
부모
커밋
063168fc1c
2개의 변경된 파일24개의 추가작업 그리고 25개의 파일을 삭제
  1. 24 0
      src/Jellyfin.LiveTv/Configuration/LiveTvConfigurationFactory.cs
  2. 0 25
      src/Jellyfin.LiveTv/LiveTvConfigurationFactory.cs

+ 24 - 0
src/Jellyfin.LiveTv/Configuration/LiveTvConfigurationFactory.cs

@@ -0,0 +1,24 @@
+using System.Collections.Generic;
+using MediaBrowser.Common.Configuration;
+using MediaBrowser.Model.LiveTv;
+
+namespace Jellyfin.LiveTv.Configuration;
+
+/// <summary>
+/// <see cref="IConfigurationFactory" /> implementation for <see cref="LiveTvOptions" />.
+/// </summary>
+public class LiveTvConfigurationFactory : IConfigurationFactory
+{
+    /// <inheritdoc />
+    public IEnumerable<ConfigurationStore> GetConfigurations()
+    {
+        return new[]
+        {
+            new ConfigurationStore
+            {
+                ConfigurationType = typeof(LiveTvOptions),
+                Key = "livetv"
+            }
+        };
+    }
+}

+ 0 - 25
src/Jellyfin.LiveTv/LiveTvConfigurationFactory.cs

@@ -1,25 +0,0 @@
-using System.Collections.Generic;
-using MediaBrowser.Common.Configuration;
-using MediaBrowser.Model.LiveTv;
-
-namespace Jellyfin.LiveTv
-{
-    /// <summary>
-    /// <see cref="IConfigurationFactory" /> implementation for <see cref="LiveTvOptions" />.
-    /// </summary>
-    public class LiveTvConfigurationFactory : IConfigurationFactory
-    {
-        /// <inheritdoc />
-        public IEnumerable<ConfigurationStore> GetConfigurations()
-        {
-            return new ConfigurationStore[]
-            {
-                new ConfigurationStore
-                {
-                    ConfigurationType = typeof(LiveTvOptions),
-                    Key = "livetv"
-                }
-            };
-        }
-    }
-}