Removed primitives from services in Program.cs

This will make it easier to move dependency registration
to a system without having to new up all the services first.
Moved the primitives to an IConfiguration which is much easier to inject.
This commit is contained in:
William Taylor
2019-02-08 09:13:58 +00:00
parent 25c2267a89
commit 0d5fbcb031
4 changed files with 66 additions and 35 deletions

View File

@@ -0,0 +1,14 @@
using System.Collections.Generic;
using Emby.Server.Implementations.IO;
namespace Emby.Server.Implementations
{
public static class ConfigurationOptions
{
public static readonly Dictionary<string, string> Configuration = new Dictionary<string, string>
{
{"ManagedFileSystem:DefaultDirectory", null},
{"ManagedFileSystem:EnableSeparateFileAndDirectoryQueries", "True"}
};
}
}