public Server(string mainUrl, HttpServerConfigs configs) { _mainUrl = mainUrl; this.configs = configs; this.installService = new InstallService(); this.downloadService = new DownloadService(installService, configs); this.mainInfoCollectorService = new MainInfoCollectorService(); }
public MainController(HttpServerConfigs configs, IDownloadService downloadService, IMainInfoCollectorService mainInfoCollectorService) { this.configs = configs; this.downloadService = downloadService; this.mainInfoCollectorService = mainInfoCollectorService; }