Exemplo n.º 1
0
 public PackageDownloader(
     DeploymentConfiguration deploymentConfiguration,
     ILogProvider logProvider,
     PackageDownloaderOptions options)
 {
     _deploymentConfiguration = deploymentConfiguration;
     _logProvider             = logProvider;
     _logger              = logProvider.GetLogger("Packages");
     _performanceLogger   = logProvider.GetLogger("Performance." + GetType().Name);
     _options             = options;
     _filesUtility        = new FilesUtility(logProvider);
     _packagesCacheFolder = Path.Combine(Paths.RhetosServerRootPath, "PackagesCache");
 }
Exemplo n.º 2
0
 public PackageDownloader(
     DeploymentConfiguration deploymentConfiguration,
     ILogProvider logProvider,
     PackageDownloaderOptions options)
 {
     _deploymentConfiguration = deploymentConfiguration;
     _logProvider             = logProvider;
     _logger            = logProvider.GetLogger(GetType().Name);
     _packagesLogger    = logProvider.GetLogger("Packages");
     _performanceLogger = logProvider.GetLogger("Performance");
     _options           = options;
     _filesUtility      = new FilesUtility(logProvider);
 }