public Workspace(IAptDirectoryPrepService aptDirectoryPrepService, Microsoft.Extensions.Options.IOptions <WorkspaceConfig> workspaceConfig, IAptCacheService aptCacheService, ILogger <Workspace> logger, IAptGetService aptGetService, IDpkgService dpkgService, IProcessRunner processRunner) { _aptDirectoryPrepService = aptDirectoryPrepService; _aptCacheService = aptCacheService; _logger = logger; _aptGetService = aptGetService; _dpkgService = dpkgService; _processRunner = processRunner; _workspaceConfig = workspaceConfig.Value; }
public AptGetService(IAptDirectoryPrepService aptDirectoryPrepService, IProcessRunner processRunner) { _aptDirectoryPrepService = aptDirectoryPrepService; _processRunner = processRunner; }
public AptCacheService(IProcessRunner processRunner, IAptDirectoryPrepService aptDirectoryPrepService) { _processRunner = processRunner; _aptDirectoryPrepService = aptDirectoryPrepService; }