示例#1
0
 public UpdateImageAssetCommandHandler(
     CofoundryDbContext dbContext,
     EntityAuditHelper entityAuditHelper,
     EntityTagHelper entityTagHelper,
     IImageAssetFileService imageAssetFileService,
     IImageAssetCache imageAssetCache,
     IResizedImageAssetFileService imageAssetFileCache,
     ITransactionScopeManager transactionScopeFactory,
     IMessageAggregator messageAggregator,
     ICommandExecutor commandExecutor,
     IAssetFileTypeValidator assetFileTypeValidator,
     IMimeTypeService mimeTypeService
     )
 {
     _dbContext               = dbContext;
     _entityAuditHelper       = entityAuditHelper;
     _entityTagHelper         = entityTagHelper;
     _imageAssetFileService   = imageAssetFileService;
     _imageAssetCache         = imageAssetCache;
     _imageAssetFileCache     = imageAssetFileCache;
     _transactionScopeFactory = transactionScopeFactory;
     _messageAggregator       = messageAggregator;
     _commandExecutor         = commandExecutor;
     _assetFileTypeValidator  = assetFileTypeValidator;
     _mimeTypeService         = mimeTypeService;
 }
 public GetImageAssetRenderDetailsByIdRangeQueryHandler(
     CofoundryDbContext dbContext,
     IImageAssetCache imageAssetCache
     )
 {
     _dbContext       = dbContext;
     _imageAssetCache = imageAssetCache;
 }
 public GetImageAssetRenderDetailsByIdQueryHandler(
     CofoundryDbContext dbContext,
     IImageAssetCache imageAssetCache,
     IImageAssetRenderDetailsMapper imageAssetRenderDetailsMapper
     )
 {
     _dbContext       = dbContext;
     _imageAssetCache = imageAssetCache;
     _imageAssetRenderDetailsMapper = imageAssetRenderDetailsMapper;
 }
示例#4
0
 public DeleteImageAssetCommandHandler(
     CofoundryDbContext dbContext,
     IImageAssetCache imageAssetCache,
     ICommandExecutor commandExecutor,
     ITransactionScopeFactory transactionScopeFactory
     )
 {
     _dbContext               = dbContext;
     _imageAssetCache         = imageAssetCache;
     _commandExecutor         = commandExecutor;
     _transactionScopeFactory = transactionScopeFactory;
 }
示例#5
0
 public DeleteImageAssetCommandHandler(
     CofoundryDbContext dbContext,
     IImageAssetCache imageAssetCache,
     ICommandExecutor commandExecutor,
     ITransactionScopeManager transactionScopeFactory,
     IMessageAggregator messageAggregator
     )
 {
     _dbContext               = dbContext;
     _imageAssetCache         = imageAssetCache;
     _commandExecutor         = commandExecutor;
     _transactionScopeFactory = transactionScopeFactory;
     _messageAggregator       = messageAggregator;
 }
 public DeleteImageAssetCommandHandler(
     CofoundryDbContext dbContext,
     IImageAssetCache imageAssetCache,
     ICommandExecutor commandExecutor,
     ITransactionScopeManager transactionScopeFactory,
     IMessageAggregator messageAggregator,
     IFileStoreService fileStoreService,
     IResizedImageAssetFileService resizedImageAssetFileService
     )
 {
     _dbContext                    = dbContext;
     _imageAssetCache              = imageAssetCache;
     _commandExecutor              = commandExecutor;
     _transactionScopeFactory      = transactionScopeFactory;
     _messageAggregator            = messageAggregator;
     _fileStoreService             = fileStoreService;
     _resizedImageAssetFileService = resizedImageAssetFileService;
 }
示例#7
0
 public UpdateImageAssetCommandHandler(
     CofoundryDbContext dbContext,
     EntityAuditHelper entityAuditHelper,
     EntityTagHelper entityTagHelper,
     IImageAssetFileService imageAssetFileService,
     IImageAssetCache imageAssetCache,
     IResizedImageAssetFileService imageAssetFileCache,
     ITransactionScopeFactory transactionScopeFactory
     )
 {
     _dbContext               = dbContext;
     _entityAuditHelper       = entityAuditHelper;
     _entityTagHelper         = entityTagHelper;
     _imageAssetFileService   = imageAssetFileService;
     _imageAssetCache         = imageAssetCache;
     _imageAssetFileCache     = imageAssetFileCache;
     _transactionScopeFactory = transactionScopeFactory;
 }