예제 #1
0
 public HostFileWriter(ILogger logger, IFileWrapper fileWrapper, HostFileParser hostFileParser, string hostsFilePath)
 {
     this.log            = logger;
     this.fileWrapper    = fileWrapper;
     this.hostFileParser = hostFileParser;
     HostsFilePath       = hostsFilePath;
 }
 public HostFileDownloader(ILogger logger, HttpClient httpClient, HostFileParser hostFileParser)
 {
     this.log            = logger;
     this.httpClient     = httpClient;
     this.hostFileParser = hostFileParser;
 }