public PackageCreatorLogicService(IPackageGenerationService packageGenerationService,
                                   IDistributedCache distributedCache, IHttpContextAccessor contextAccessor,
                                   IConfiguration configuration, LinkGenerator generator, ILogger <PackageCreatorLogicService> logger)
 {
     _packageGenerationService = packageGenerationService;
     _distributedCache         = distributedCache;
     _contextAccessor          = contextAccessor;
     _configuration            = configuration;
     _linkGenerator            = generator;
     _logger = logger;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GenerateItemPackage"/> class.
 /// </summary>
 /// <param name="packageGenerationService">The package generation service.</param>
 public GenerateItemPackage(IPackageGenerationService packageGenerationService)
 {
     this.packageGenerationService = packageGenerationService;
 }