Example #1
0
 public ExtractDownloads(
     IAmazonS3 s3Client,
     DownloadConfiguration config,
     MarketingVersion version,
     IClock clock)
 {
     _client  = s3Client;
     _config  = config;
     _version = version;
     _clock   = clock;
 }
Example #2
0
        public Startup(
            IConfiguration configuration,
            ILoggerFactory loggerFactory)
        {
            _configuration    = configuration;
            _loggerFactory    = loggerFactory;
            _marketingVersion = new MarketingVersion(_configuration);

            _contact = new OpenApiContact
            {
                Name  = _configuration["Contact:Name"],
                Email = _configuration["Contact:Email"],
                Url   = new Uri(_configuration["SiteUrl"])
            };
        }
Example #3
0
 public ExtractDownloadModule(IConfiguration configuration, MarketingVersion marketingVersion)
 {
     _marketingVersion     = marketingVersion;
     _extractConfiguration = configuration.GetSection("Extract");
 }