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

@@ -14,6 +14,8 @@ using System.Net.Security;
using System.Reflection;
using System.Security.Cryptography.X509Certificates;
using System.Threading.Tasks;
using CommonIO;
using MediaBrowser.Server.Implementations.Logging;
namespace MediaBrowser.Server.Mono
{
@@ -75,7 +77,8 @@ namespace MediaBrowser.Server.Mono
// Allow all https requests
ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(delegate { return true; });
var fileSystem = new CommonFileSystem(logManager.GetLogger("FileSystem"), false, true);
var fileSystem = new ManagedFileSystem(new PatternsLogger(logManager.GetLogger("FileSystem")), false, true);
fileSystem.AddShortcutHandler(new MbLinkShortcutHandler(fileSystem));
var nativeApp = new NativeApp();