コード例 #1
0
 public DownloadService(CaffShopContext dbContext, IOptions <StorageConfiguration> storageConfiguration, ILogger <DownloadService> logger, ICanDownloadService canDownloadService)
 {
     this.DbContext          = dbContext;
     this.StorageConfig      = storageConfiguration.Value;
     this.Logger             = logger;
     this.CanDownloadService = canDownloadService;
 }
コード例 #2
0
 public DetailsService(CaffShopContext context, ICanDownloadService canDownloadService, IIdentityService identityService, ILogger <DetailsService> logger)
 {
     this.context            = context;
     this.canDownloadService = canDownloadService;
     this.identityService    = identityService;
     this.logger             = logger;
 }