public FilesysEventHandlerBase(ServerProxy serverProxy, FilesysManager fileManager, PathFactory pathFactory, FilesysContext filesysContext) { _serverProxy = serverProxy; _fileManager = fileManager; _pathFactory = pathFactory; _filesysContext = filesysContext; }
/// <summary> /// Initializes a new instance of the <see cref="GatorShareRedirectFSHelper"/> class. /// </summary> /// <param name="baseDir">The base dir.</param> /// <param name="pathFactory">The path factory.</param> public GatorShareRedirectFSHelper(ShadowDirPath baseDir, PathFactory pathFactory, FilesysManager fileManager, FilesysContext filesysContext) : base(baseDir.PathString) { _pathFactory = pathFactory; _fileManager = fileManager; _filesysContext = filesysContext; // Create the meta direcotry. Directory.CreateDirectory(_pathFactory.CreateShadowFullPath( new VirtualPath(Path.DirectorySeparatorChar.ToString()), PathFactory.FilesysOp.Read).PathString); }
public BitTorrentFilesysEventHandler(ServerProxy serverProxy, FilesysManager fileManager, PathFactory pathFactory, FilesysContext filesysContext) : base(serverProxy, fileManager, pathFactory, filesysContext) { }
public FilesysManager(PathFactory pathFactory, ServerProxy serverProxy) { _pathFactory = pathFactory; _serverProxy = serverProxy; }