continue file system rework

This commit is contained in:
Luke Pulverenti
2015-10-04 00:23:11 -04:00
parent 8ad702060e
commit 078277ebc2
286 changed files with 459 additions and 1309 deletions

View File

@@ -17,6 +17,8 @@ using System.ServiceProcess;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using CommonIO.Windows;
using MediaBrowser.Server.Implementations.Logging;
namespace MediaBrowser.ServerApplication
{
@@ -201,7 +203,8 @@ namespace MediaBrowser.ServerApplication
/// <param name="options">The options.</param>
private static void RunApplication(ServerApplicationPaths appPaths, ILogManager logManager, bool runService, StartupOptions options)
{
var fileSystem = new NativeFileSystem(logManager.GetLogger("FileSystem"), false);
var fileSystem = new WindowsFileSystem(new PatternsLogger(logManager.GetLogger("FileSystem")));
fileSystem.AddShortcutHandler(new MbLinkShortcutHandler(fileSystem));
var nativeApp = new WindowsApp(fileSystem)
{