Пример #1
0
 public MovePageVersionModuleCommandHandler(
     CofoundryDbContext dbContext,
     EntityAuditHelper entityAuditHelper,
     EntityOrderableHelper entityOrderableHelper,
     IPageCache pageCache,
     IMessageAggregator messageAggregator
     )
 {
     _dbContext             = dbContext;
     _entityAuditHelper     = entityAuditHelper;
     _entityOrderableHelper = entityOrderableHelper;
     _pageCache             = pageCache;
     _messageAggregator     = messageAggregator;
 }
 public MovePageVersionBlockCommandHandler(
     CofoundryDbContext dbContext,
     EntityAuditHelper entityAuditHelper,
     EntityOrderableHelper entityOrderableHelper,
     IPageCache pageCache,
     IMessageAggregator messageAggregator,
     ITransactionScopeManager transactionScopeFactory
     )
 {
     _dbContext               = dbContext;
     _entityAuditHelper       = entityAuditHelper;
     _entityOrderableHelper   = entityOrderableHelper;
     _pageCache               = pageCache;
     _messageAggregator       = messageAggregator;
     _transactionScopeFactory = transactionScopeFactory;
 }
 public MoveCustomEntityVersionPageBlockCommandHandler(
     CofoundryDbContext dbContext,
     EntityAuditHelper entityAuditHelper,
     EntityOrderableHelper entityOrderableHelper,
     ICustomEntityCache customEntityCache,
     IMessageAggregator messageAggregator,
     IPermissionValidationService permissionValidationService
     )
 {
     _dbContext                   = dbContext;
     _entityAuditHelper           = entityAuditHelper;
     _entityOrderableHelper       = entityOrderableHelper;
     _customEntityCache           = customEntityCache;
     _messageAggregator           = messageAggregator;
     _permissionValidationService = permissionValidationService;
 }
 public AddPageVersionModuleCommandHandler(
     CofoundryDbContext dbContext,
     EntityAuditHelper entityAuditHelper,
     EntityOrderableHelper entityOrderableHelper,
     IPageCache pageCache,
     IPageModuleCommandHelper pageModuleCommandHelper,
     ICommandExecutor commandExecutor,
     IMessageAggregator messageAggregator,
     ITransactionScopeFactory transactionScopeFactory
     )
 {
     _dbContext               = dbContext;
     _entityAuditHelper       = entityAuditHelper;
     _entityOrderableHelper   = entityOrderableHelper;
     _pageCache               = pageCache;
     _pageModuleCommandHelper = pageModuleCommandHelper;
     _commandExecutor         = commandExecutor;
     _messageAggregator       = messageAggregator;
     _transactionScopeFactory = transactionScopeFactory;
 }
 public AddCustomEntityVersionPageModuleCommandHandler(
     CofoundryDbContext dbContext,
     ICommandExecutor commandExecutor,
     EntityOrderableHelper entityOrderableHelper,
     ICustomEntityCache customEntityCache,
     IPageModuleCommandHelper pageModuleCommandHelper,
     IMessageAggregator messageAggregator,
     ICustomEntityDefinitionRepository customEntityDefinitionRepository,
     IPermissionValidationService permissionValidationService,
     ITransactionScopeFactory transactionScopeFactory
     )
 {
     _dbContext                   = dbContext;
     _commandExecutor             = commandExecutor;
     _entityOrderableHelper       = entityOrderableHelper;
     _customEntityCache           = customEntityCache;
     _pageModuleCommandHelper     = pageModuleCommandHelper;
     _messageAggregator           = messageAggregator;
     _permissionValidationService = permissionValidationService;
     _transactionScopeFactory     = transactionScopeFactory;
 }