Exemplo n.º 1
0
 public AddDocumentAssetCommandHandler(
     CofoundryDbContext dbContext,
     EntityAuditHelper entityAuditHelper,
     EntityTagHelper entityTagHelper,
     DocumentAssetCommandHelper documentAssetCommandHelper,
     ITransactionScopeFactory transactionScopeFactory
     )
 {
     _dbContext                  = dbContext;
     _entityAuditHelper          = entityAuditHelper;
     _entityTagHelper            = entityTagHelper;
     _documentAssetCommandHelper = documentAssetCommandHelper;
     _transactionScopeFactory    = transactionScopeFactory;
 }
Exemplo n.º 2
0
 public UpdatePageCommandHandler(
     IQueryExecutor queryExecutor,
     CofoundryDbContext dbContext,
     EntityAuditHelper entityAuditHelper,
     EntityTagHelper entityTagHelper,
     IPageCache pageCache,
     IMessageAggregator messageAggregator
     )
 {
     _dbContext         = dbContext;
     _entityAuditHelper = entityAuditHelper;
     _entityTagHelper   = entityTagHelper;
     _pageCache         = pageCache;
     _messageAggregator = messageAggregator;
 }
 public UpdateDocumentAssetCommandHandler(
     CofoundryDbContext dbContext,
     EntityAuditHelper entityAuditHelper,
     EntityTagHelper entityTagHelper,
     DocumentAssetCommandHelper documentAssetCommandHelper,
     ITransactionScopeFactory transactionScopeFactory,
     IMessageAggregator messageAggregator
     )
 {
     _dbContext                  = dbContext;
     _entityAuditHelper          = entityAuditHelper;
     _entityTagHelper            = entityTagHelper;
     _documentAssetCommandHelper = documentAssetCommandHelper;
     _transactionScopeFactory    = transactionScopeFactory;
     _messageAggregator          = messageAggregator;
 }
 public AddImageAssetCommandHandler(
     CofoundryDbContext dbContext,
     EntityAuditHelper entityAuditHelper,
     EntityTagHelper entityTagHelper,
     IImageAssetFileService imageAssetFileService,
     ITransactionScopeManager transactionScopeFactory,
     IMessageAggregator messageAggregator
     )
 {
     _dbContext               = dbContext;
     _entityAuditHelper       = entityAuditHelper;
     _entityTagHelper         = entityTagHelper;
     _imageAssetFileService   = imageAssetFileService;
     _transactionScopeFactory = transactionScopeFactory;
     _messageAggregator       = messageAggregator;
 }
 public UpdatePageCommandHandler(
     IQueryExecutor queryExecutor,
     CofoundryDbContext dbContext,
     EntityAuditHelper entityAuditHelper,
     EntityTagHelper entityTagHelper,
     IPageCache pageCache,
     IMessageAggregator messageAggregator,
     ITransactionScopeManager transactionScopeFactory
     )
 {
     _dbContext               = dbContext;
     _entityAuditHelper       = entityAuditHelper;
     _entityTagHelper         = entityTagHelper;
     _pageCache               = pageCache;
     _messageAggregator       = messageAggregator;
     _transactionScopeFactory = transactionScopeFactory;
 }
Exemplo n.º 6
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;
 }
 public AddDocumentAssetCommandHandler(
     CofoundryDbContext dbContext,
     EntityAuditHelper entityAuditHelper,
     EntityTagHelper entityTagHelper,
     DocumentAssetCommandHelper documentAssetCommandHelper,
     ITransactionScopeManager transactionScopeFactory,
     IMessageAggregator messageAggregator,
     IRandomStringGenerator randomStringGenerator
     )
 {
     _dbContext                  = dbContext;
     _entityAuditHelper          = entityAuditHelper;
     _entityTagHelper            = entityTagHelper;
     _documentAssetCommandHelper = documentAssetCommandHelper;
     _transactionScopeFactory    = transactionScopeFactory;
     _messageAggregator          = messageAggregator;
     _randomStringGenerator      = randomStringGenerator;
 }
Exemplo n.º 8
0
 public AddPageCommandHandler(
     CofoundryDbContext dbContext,
     IQueryExecutor queryExecutor,
     EntityAuditHelper entityAuditHelper,
     EntityTagHelper entityTagHelper,
     IPageCache pageCache,
     IMessageAggregator messageAggregator,
     IPageStoredProcedures pageStoredProcedures,
     ITransactionScopeManager transactionScopeFactory
     )
 {
     _dbContext               = dbContext;
     _queryExecutor           = queryExecutor;
     _entityAuditHelper       = entityAuditHelper;
     _entityTagHelper         = entityTagHelper;
     _pageCache               = pageCache;
     _messageAggregator       = messageAggregator;
     _pageStoredProcedures    = pageStoredProcedures;
     _transactionScopeFactory = transactionScopeFactory;
 }
 public UpdateImageAssetCommandHandler(
     CofoundryDbContext dbContext,
     EntityAuditHelper entityAuditHelper,
     EntityTagHelper entityTagHelper,
     IImageAssetFileService imageAssetFileService,
     IImageAssetCache imageAssetCache,
     IResizedImageAssetFileService imageAssetFileCache,
     ITransactionScopeManager transactionScopeFactory,
     IMessageAggregator messageAggregator,
     ICommandExecutor commandExecutor,
     IAssetFileTypeValidator assetFileTypeValidator
     )
 {
     _dbContext               = dbContext;
     _entityAuditHelper       = entityAuditHelper;
     _entityTagHelper         = entityTagHelper;
     _imageAssetFileService   = imageAssetFileService;
     _imageAssetCache         = imageAssetCache;
     _imageAssetFileCache     = imageAssetFileCache;
     _transactionScopeFactory = transactionScopeFactory;
     _messageAggregator       = messageAggregator;
     _commandExecutor         = commandExecutor;
     _assetFileTypeValidator  = assetFileTypeValidator;
 }