public UpdateCommand(NugetClient nugetClient, DBDepsConfigurationFile configurationFile, DependencyManager dependencyManager) { this.nugetClient = nugetClient; this.configurationFile = configurationFile; this.dependencyManager = dependencyManager; }
public InstallCommand(DependencyManager dependencyManager, NugetClient nugetClient, DBDepsConfigurationFile configurationFile) { this.dependencyManager = dependencyManager; this.nugetClient = nugetClient; this.configurationFile = configurationFile; }
private static void ConfigureServices(ServiceCollection services) { services.AddSingleton <NugetClient>(); services.AddSingleton <DependencyManager>(); services.AddSingleton(x => { var confFilePath = Path.Combine(Directory.GetCurrentDirectory(), "dbDeps.json"); var conf = new DBDepsConfigurationFile(confFilePath); return(conf); }); }
public ListCommand(NugetClient nugetClient, DBDepsConfigurationFile configurationFile) { this.nugetClient = nugetClient; this.configurationFile = configurationFile; }
public DependencyManager(NugetClient nugetClient, DBDepsConfigurationFile configurationFile) { this.nugetClient = nugetClient; this.configurationFile = configurationFile; }