public MediaHelper( CoreInDbContext dbContext, ITaxonomyHelper taxonomyHelper, IEntityHelper <FileEntity, FileEntityDetail> entityHelper, IHostingEnvironment environment, IStringLocalizer <Language> stringLocalizer, IEntityTypeManager entityTypeManager, IEntityTaxonomyRelationHelper <FileEntityTaxonomy> entityTaxonomyRelationHelper, IHttpContextAccessor context ) { _dbContext = dbContext; _taxonomyHelper = taxonomyHelper; _entityHelper = entityHelper; _entityHelper.SetContext(_dbContext); _entityTypeManager = entityTypeManager; _environment = environment; _stringLocalizer = stringLocalizer; _entityTaxonomyRelationHelper = entityTaxonomyRelationHelper; _context = context; }
public EntityTypeManager(CoreInDbContext dbContext, IEntityHelper <EntityType, EntityTypeDetail> entityTypeHelper) { _dbContext = dbContext; _entityTypeHelper = entityTypeHelper; _entityTypeHelper.SetContext(dbContext); }
public EntityTaxonomyRelationHelper(CoreInDbContext dbContext, IRepository <TEntityTaxonomy> entityTaxonomyRepo) { _dbContext = dbContext; _entityTaxonomyRepo = entityTaxonomyRepo; _entityTaxonomyRepo.SetContext(_dbContext); }
public EntityFieldManager(CoreInDbContext dbContext, IEntityHelper <EntityField, EntityFieldDetail> fieldEntityHelper) { _dbContext = dbContext; _fieldEntityHelper = fieldEntityHelper; _fieldEntityHelper.SetContext(dbContext); }
public MenuHelper(CoreInDbContext dbContext, AppEntityTypes appEntityTypes, IEntityHelper <Menu, MenuDetail> entityHelper, IEntityTypeManager entityTypeManager) { _dbContext = dbContext; _appEntityTypes = appEntityTypes; _entityHelper = entityHelper; _entityHelper.SetContext(dbContext); }
public EntityControllerWithTaxonomy(CoreInDbContext dbContext, IEntityHelper <TEntity, TEntityDetail> fieldEntityHelper, IMediaHelper mediaHelper, IStringLocalizer <TLocalizer> localizer, IOptions <RequestLocalizationOptions> localizationOptions, ITaxonomyHelper taxonomyHelper) : base(dbContext, fieldEntityHelper, mediaHelper, localizer, localizationOptions) { TaxonomyHelper = taxonomyHelper; }
public EntityController(CoreInDbContext dbContext, IEntityHelper <TEntity, TEntityDetail> fieldEntityHelper, IMediaHelper mediaHelper, IStringLocalizer <TLocalizer> localizer, IOptions <RequestLocalizationOptions> localizationOptions) { DbContext = dbContext; EntityHelper = fieldEntityHelper; EntityHelper.SetContext(dbContext); _mediaHelper = mediaHelper; _localizer = localizer; _localizationOptions = localizationOptions; }
public TaxonomyHelper(IServiceProvider serviceProvider, CoreInDbContext dbContext, IEntityTypeManager entityTypeManager, IEntityHelper <TaxonomyType, TaxonomyTypeDetail> taxTypeEntityHelper, IEntityHelper <Taxonomy, TaxonomyDetail> entityHelper) { _serviceProvider = serviceProvider; _dbContext = dbContext; _entityTypeManager = entityTypeManager; _entityTypeManager.SetContext(dbContext); _taxTypeEntityHelper = taxTypeEntityHelper; _taxTypeEntityHelper.SetContext(dbContext); _taxEntityHelper = entityHelper; _taxEntityHelper.SetContext(dbContext); }
public PostCommentController(CoreInDbContext context, IRepository <PostComment> postCommentRepository) { _postCommentRepository = postCommentRepository; _postCommentRepository.SetContext(context); }