public WindowsMountedDriveService( IEnvironmentDriveService environmentDriveService, IProcessService processService) : base(environmentDriveService) { _processService = processService; }
public MountedDriveService( IEnvironmentDriveService environmentDriveService) { _environmentDriveService = environmentDriveService; _mountedDrives = new List <DriveModel>(); ReloadMountedDrives(); }
public LinuxMountedDriveService( IEnvironmentDriveService environmentDriveService, IProcessService processService, IDriveNameService driveNameService, ILogger logger) : base(environmentDriveService) { _processService = processService; _driveNameService = driveNameService; _logger = logger; }
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(); }
public DriveService(IEnvironmentDriveService environmentDriveService) { _environmentDriveService = environmentDriveService; }
public MountedDriveService(IEnvironmentDriveService environmentDriveService) : base(environmentDriveService) { }