Exemplo n.º 1
0
 public WindowsMountedDriveService(
     IEnvironmentDriveService environmentDriveService,
     IProcessService processService)
     : base(environmentDriveService)
 {
     _processService = processService;
 }
Exemplo n.º 2
0
        public MountedDriveService(
            IEnvironmentDriveService environmentDriveService)
        {
            _environmentDriveService = environmentDriveService;

            _mountedDrives = new List <DriveModel>();

            ReloadMountedDrives();
        }
Exemplo n.º 3
0
 public LinuxMountedDriveService(
     IEnvironmentDriveService environmentDriveService,
     IProcessService processService,
     IDriveNameService driveNameService,
     ILogger logger)
     : base(environmentDriveService)
 {
     _processService   = processService;
     _driveNameService = driveNameService;
     _logger           = logger;
 }
Exemplo n.º 4
0
        public DriveService(
            IEnvironmentDriveService environmentDriveService,
            IUnmountedDriveService unmountedDriveService,
            DriveServiceConfiguration configuration)
        {
            _environmentDriveService = environmentDriveService;
            _unmountedDriveService   = unmountedDriveService;

            _mountedDrives   = new List <DriveModel>();
            _unmountedDrives = new List <UnmountedDriveModel>();
            _timer           = new Timer(configuration.DrivesListRefreshIntervalMs);

            ReloadDrives();
            SetupTimer();
        }
Exemplo n.º 5
0
 public DriveService(IEnvironmentDriveService environmentDriveService)
 {
     _environmentDriveService = environmentDriveService;
 }
Exemplo n.º 6
0
 public MountedDriveService(IEnvironmentDriveService environmentDriveService)
     : base(environmentDriveService)
 {
 }