Пример #1
0
 public FilesysEventHandlerBase(ServerProxy serverProxy, FilesysManager 
     fileManager, PathFactory pathFactory, FilesysContext filesysContext)
 {
     _serverProxy = serverProxy;
       _fileManager = fileManager;
       _pathFactory = pathFactory;
       _filesysContext = filesysContext;
 }
 public FilesysEventHandlerBase(ServerProxy serverProxy, FilesysManager
                                fileManager, PathFactory pathFactory, FilesysContext filesysContext)
 {
     _serverProxy    = serverProxy;
     _fileManager    = fileManager;
     _pathFactory    = pathFactory;
     _filesysContext = filesysContext;
 }
Пример #3
0
 /// <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);
 }
Пример #4
0
 /// <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 BitTorrentFilesysEventHandler(ServerProxy serverProxy,
     FilesysManager fileManager, PathFactory pathFactory,
     FilesysContext filesysContext)
     : base(serverProxy, fileManager, pathFactory, filesysContext)
 {
 }