Exemple #1
0
 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;
 }
Exemple #3
0
 public AptCacheService(IProcessRunner processRunner,
                        IAptDirectoryPrepService aptDirectoryPrepService)
 {
     _processRunner           = processRunner;
     _aptDirectoryPrepService = aptDirectoryPrepService;
 }