public void AddSource() { var tool = new ChocolateySources(FileSystem, Environment, ProcessRunner, Globber, ChocolateyToolResolver); tool.AddSource(Name, Source, Settings); }
protected override void RunTool() { var tool = new ChocolateySources(FileSystem, Environment, ProcessRunner, Globber, Resolver); tool.RemoveSource(Name, Settings); }