コード例 #1
0
 public AddCustomEntityCommandHandler(
     IQueryExecutor queryExecutor,
     ICommandExecutor commandExecutor,
     CofoundryDbContext dbContext,
     EntityAuditHelper entityAuditHelper,
     ICustomEntityCache customEntityCache,
     IDbUnstructuredDataSerializer dbUnstructuredDataSerializer,
     IMessageAggregator messageAggregator,
     ICustomEntityDefinitionRepository customEntityDefinitionRepository,
     IPermissionValidationService permissionValidationService,
     ITransactionScopeManager transactionScopeFactory,
     ICustomEntityStoredProcedures customEntityStoredProcedures
     )
 {
     _queryExecutor                    = queryExecutor;
     _commandExecutor                  = commandExecutor;
     _dbContext                        = dbContext;
     _entityAuditHelper                = entityAuditHelper;
     _customEntityCache                = customEntityCache;
     _dbUnstructuredDataSerializer     = dbUnstructuredDataSerializer;
     _messageAggregator                = messageAggregator;
     _customEntityDefinitionRepository = customEntityDefinitionRepository;
     _permissionValidationService      = permissionValidationService;
     _transactionScopeFactory          = transactionScopeFactory;
     _customEntityStoredProcedures     = customEntityStoredProcedures;
 }
コード例 #2
0
 public AddRedirectRuleCommandHandler(
     CofoundryDbContext dbContext,
     EntityAuditHelper entityAuditHelper
     )
 {
     _dbContext         = dbContext;
     _entityAuditHelper = entityAuditHelper;
 }
コード例 #3
0
ファイル: EntityTagHelper.cs プロジェクト: zerioxen/cofoundry
 public EntityTagHelper(
     CofoundryDbContext dbContext,
     EntityAuditHelper entityAuditHelper
     )
 {
     _dbContext         = dbContext;
     _entityAuditHelper = entityAuditHelper;
 }
コード例 #4
0
 public SettingCommandHelper(
     CofoundryDbContext dbContext,
     IDbUnstructuredDataSerializer dbUnstructuredDataSerializer,
     EntityAuditHelper entityAuditHelper,
     IQueryExecutor queryExecutor
     )
 {
     _dbContext = dbContext;
     _dbUnstructuredDataSerializer = dbUnstructuredDataSerializer;
     _entityAuditHelper            = entityAuditHelper;
     _queryExecutor = queryExecutor;
 }
コード例 #5
0
 public UpdateWebDirectoryCommandHandler(
     IQueryExecutor queryExecutor,
     CofoundryDbContext dbContext,
     EntityAuditHelper entityAuditHelper,
     IWebDirectoryCache cache
     )
 {
     _dbContext         = dbContext;
     _entityAuditHelper = entityAuditHelper;
     _queryExecutor     = queryExecutor;
     _cache             = cache;
 }
コード例 #6
0
 public AddPageDirectoryCommandHandler(
     IQueryExecutor queryExecutor,
     CofoundryDbContext dbContext,
     EntityAuditHelper entityAuditHelper,
     IPageDirectoryCache cache,
     ITransactionScopeManager transactionScopeFactory
     )
 {
     _dbContext               = dbContext;
     _entityAuditHelper       = entityAuditHelper;
     _queryExecutor           = queryExecutor;
     _cache                   = cache;
     _transactionScopeFactory = transactionScopeFactory;
 }
コード例 #7
0
 public UpdatePageUrlCommandHandler(
     IQueryExecutor queryExecutor,
     CofoundryDbContext dbContext,
     EntityAuditHelper entityAuditHelper,
     IPageCache pageCache,
     IMessageAggregator messageAggregator
     )
 {
     _queryExecutor     = queryExecutor;
     _dbContext         = dbContext;
     _entityAuditHelper = entityAuditHelper;
     _pageCache         = pageCache;
     _messageAggregator = messageAggregator;
 }
コード例 #8
0
 public UpdateDocumentAssetCommandHandler(
     CofoundryDbContext dbContext,
     EntityAuditHelper entityAuditHelper,
     EntityTagHelper entityTagHelper,
     DocumentAssetCommandHelper documentAssetCommandHelper,
     ITransactionScopeFactory transactionScopeFactory
     )
 {
     _dbContext                  = dbContext;
     _entityAuditHelper          = entityAuditHelper;
     _entityTagHelper            = entityTagHelper;
     _documentAssetCommandHelper = documentAssetCommandHelper;
     _transactionScopeFactory    = transactionScopeFactory;
 }
コード例 #9
0
 public MovePageVersionModuleCommandHandler(
     CofoundryDbContext dbContext,
     EntityAuditHelper entityAuditHelper,
     EntityOrderableHelper entityOrderableHelper,
     IPageCache pageCache,
     IMessageAggregator messageAggregator
     )
 {
     _dbContext             = dbContext;
     _entityAuditHelper     = entityAuditHelper;
     _entityOrderableHelper = entityOrderableHelper;
     _pageCache             = pageCache;
     _messageAggregator     = messageAggregator;
 }
コード例 #10
0
 public AddPageDraftVersionCommandHandler(
     CofoundryDbContext dbContext,
     EntityAuditHelper entityAuditHelper,
     IPageCache pageCache,
     IMessageAggregator messageAggregator,
     IEntityFrameworkSqlExecutor entityFrameworkSqlExecutor
     )
 {
     _dbContext                  = dbContext;
     _entityAuditHelper          = entityAuditHelper;
     _pageCache                  = pageCache;
     _messageAggregator          = messageAggregator;
     _entityFrameworkSqlExecutor = entityFrameworkSqlExecutor;
 }
コード例 #11
0
 public AddImageAssetCommandHandler(
     CofoundryDbContext dbContext,
     EntityAuditHelper entityAuditHelper,
     EntityTagHelper entityTagHelper,
     IImageAssetFileService imageAssetFileService,
     ITransactionScopeFactory transactionScopeFactory
     )
 {
     _dbContext               = dbContext;
     _entityAuditHelper       = entityAuditHelper;
     _entityTagHelper         = entityTagHelper;
     _imageAssetFileService   = imageAssetFileService;
     _transactionScopeFactory = transactionScopeFactory;
 }
コード例 #12
0
 public AddCustomEntityDraftVersionCommandHandler(
     CofoundryDbContext dbContext,
     EntityAuditHelper entityAuditHelper,
     ICustomEntityCache customEntityCache,
     IMessageAggregator messageAggregator,
     IPermissionValidationService permissionValidationService,
     IEntityFrameworkSqlExecutor entityFrameworkSqlExecutor
     )
 {
     _dbContext                   = dbContext;
     _entityAuditHelper           = entityAuditHelper;
     _customEntityCache           = customEntityCache;
     _messageAggregator           = messageAggregator;
     _permissionValidationService = permissionValidationService;
     _entityFrameworkSqlExecutor  = entityFrameworkSqlExecutor;
 }
コード例 #13
0
 public UpdatePageUrlCommandHandler(
     IQueryExecutor queryExecutor,
     CofoundryDbContext dbContext,
     EntityAuditHelper entityAuditHelper,
     IPageCache pageCache,
     IMessageAggregator messageAggregator,
     ITransactionScopeManager transactionScopeFactory
     )
 {
     _queryExecutor           = queryExecutor;
     _dbContext               = dbContext;
     _entityAuditHelper       = entityAuditHelper;
     _pageCache               = pageCache;
     _messageAggregator       = messageAggregator;
     _transactionScopeFactory = transactionScopeFactory;
 }
コード例 #14
0
 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;
 }
コード例 #16
0
 public AddPageCommandHandler(
     CofoundryDbContext dbContext,
     IQueryExecutor queryExecutor,
     EntityAuditHelper entityAuditHelper,
     EntityTagHelper entityTagHelper,
     IPageCache pageCache,
     IMessageAggregator messageAggregator
     )
 {
     _dbContext         = dbContext;
     _queryExecutor     = queryExecutor;
     _entityAuditHelper = entityAuditHelper;
     _entityTagHelper   = entityTagHelper;
     _pageCache         = pageCache;
     _messageAggregator = messageAggregator;
 }
コード例 #17
0
 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;
 }
コード例 #18
0
 public AddDocumentAssetCommandHandler(
     CofoundryDbContext dbContext,
     EntityAuditHelper entityAuditHelper,
     EntityTagHelper entityTagHelper,
     DocumentAssetCommandHelper documentAssetCommandHelper,
     ITransactionScopeManager transactionScopeFactory,
     IMessageAggregator messageAggregator
     )
 {
     _dbContext                  = dbContext;
     _entityAuditHelper          = entityAuditHelper;
     _entityTagHelper            = entityTagHelper;
     _documentAssetCommandHelper = documentAssetCommandHelper;
     _transactionScopeFactory    = transactionScopeFactory;
     _messageAggregator          = messageAggregator;
 }
コード例 #19
0
 public UpdateCustomEntityUrlCommandHandler(
     IQueryExecutor queryExecutor,
     CofoundryDbContext dbContext,
     EntityAuditHelper entityAuditHelper,
     ICustomEntityCache customEntityCache,
     IMessageAggregator messageAggregator,
     IPermissionValidationService permissionValidationService
     )
 {
     _queryExecutor               = queryExecutor;
     _dbContext                   = dbContext;
     _entityAuditHelper           = entityAuditHelper;
     _customEntityCache           = customEntityCache;
     _messageAggregator           = messageAggregator;
     _permissionValidationService = permissionValidationService;
 }
コード例 #20
0
 public UpdateImageAssetCommandHandler(
     CofoundryDbContext dbContext,
     EntityAuditHelper entityAuditHelper,
     EntityTagHelper entityTagHelper,
     ImageAssetCommandHelper imageAssetCommandHelper,
     IImageAssetCache imageAssetCache,
     IResizedImageAssetFileService imageAssetFileCache,
     ITransactionScopeFactory transactionScopeFactory
     )
 {
     _dbContext               = dbContext;
     _entityAuditHelper       = entityAuditHelper;
     _entityTagHelper         = entityTagHelper;
     _imageAssetCommandHelper = imageAssetCommandHelper;
     _imageAssetCache         = imageAssetCache;
     _imageAssetFileCache     = imageAssetFileCache;
     _transactionScopeFactory = transactionScopeFactory;
 }
コード例 #21
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;
 }
コード例 #22
0
 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;
 }
コード例 #23
0
 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;
 }