示例#1
0
 public CmsKitDataSeedContributor(
     IGuidGenerator guidGenerator,
     ICmsUserRepository cmsUserRepository,
     CmsKitTestData cmsKitTestData,
     ICommentRepository commentRepository,
     ReactionManager reactionManager,
     IRatingRepository ratingRepository,
     ICurrentTenant currentTenant,
     IContentRepository contentRepository,
     ITagManager tagManager,
     IEntityTagManager entityTagManager,
     IPageRepository pageRepository,
     IOptions <CmsKitOptions> options,
     IOptions <CmsKitTagOptions> tagOptions)
 {
     _guidGenerator     = guidGenerator;
     _cmsUserRepository = cmsUserRepository;
     _cmsKitTestData    = cmsKitTestData;
     _commentRepository = commentRepository;
     _reactionManager   = reactionManager;
     _ratingRepository  = ratingRepository;
     _currentTenant     = currentTenant;
     _contentRepository = contentRepository;
     _tagManager        = tagManager;
     _entityTagManager  = entityTagManager;
     _pageRepository    = pageRepository;
     _options           = options;
     _tagOptions        = tagOptions;
 }
示例#2
0
 public EntityTagManager_Tests()
 {
     _cmsKitTestData   = GetRequiredService <CmsKitTestData>();
     _entityTagManager = GetRequiredService <IEntityTagManager>();
     _tagRepository    = GetRequiredService <ITagRepository>();
     _guidGenerator    = GetRequiredService <IGuidGenerator>();
 }
 public EntityTagAdminAppService(
     ITagDefinitionStore tagDefinitionStore,
     IEntityTagManager entityTagManager,
     ITagManager tagManager)
 {
     _tagDefinitionStore = tagDefinitionStore;
     _entityTagManager   = entityTagManager;
     _tagManager         = tagManager;
 }
示例#4
0
 public EntityTagAdminAppService(
     ITagDefinitionStore tagDefinitionStore,
     IEntityTagManager entityTagManager,
     ITagManager tagManager,
     ITagRepository tagRepository,
     IEntityTagRepository entityTagRepository)
 {
     _tagDefinitionStore  = tagDefinitionStore;
     _entityTagManager    = entityTagManager;
     _tagManager          = tagManager;
     _tagRepository       = tagRepository;
     _entityTagRepository = entityTagRepository;
 }
示例#5
0
 public SampleEntityTagsService(
     IEntityTagManager <EntityTag> entityTagManager,
     IEntityStore <Entity> entityStore,
     ITagStore <TagBase> tagStore,
     IContextFacade contextFacade,
     IFeatureFacade featureFacade,
     IDbHelper dbHelper)
 {
     _entityTagManager = entityTagManager;
     _featureFacade    = featureFacade;
     _contextFacade    = contextFacade;
     _entityStore      = entityStore;
     _tagStore         = tagStore;
     _dbHelper         = dbHelper;
     _random           = new Random();
 }
示例#6
0
 public QuestionViewProvider(
     ITagStore <Tag> tagStore,
     IEntityStore <Question> entityStore,
     IEntityTagStore <EntityTag> entityTagStore,
     IHttpContextAccessor httpContextAccessor,
     IEntityTagManager <EntityTag> entityTagManager,
     ITagManager <Tag> tagManager,
     IFeatureFacade featureFacade,
     IContextFacade contextFacade)
 {
     _tagStore         = tagStore;
     _entityStore      = entityStore;
     _entityTagStore   = entityTagStore;
     _entityTagManager = entityTagManager;
     _tagManager       = tagManager;
     _featureFacade    = featureFacade;
     _contextFacade    = contextFacade;
     _request          = httpContextAccessor.HttpContext.Request;
 }
 public CmsKitDataSeedContributor(
     IGuidGenerator guidGenerator,
     ICmsUserRepository cmsUserRepository,
     CmsKitTestData cmsKitTestData,
     ICommentRepository commentRepository,
     ReactionManager reactionManager,
     IRatingRepository ratingRepository,
     ICurrentTenant currentTenant,
     IContentRepository contentRepository,
     ITagManager tagManager,
     IEntityTagRepository entityTagRepository,
     IPageRepository pageRepository,
     IBlogRepository blogRepository,
     IBlogPostRepository blogPostRepository,
     IBlogFeatureRepository blogFeatureRepository,
     IEntityTagManager entityTagManager,
     IOptions <CmsKitOptions> options,
     IOptions <CmsKitTagOptions> tagOptions,
     IMediaDescriptorRepository mediaDescriptorRepository,
     IBlobContainer <MediaContainer> mediaBlobContainer)
 {
     _guidGenerator         = guidGenerator;
     _cmsUserRepository     = cmsUserRepository;
     _cmsKitTestData        = cmsKitTestData;
     _commentRepository     = commentRepository;
     _reactionManager       = reactionManager;
     _ratingRepository      = ratingRepository;
     _currentTenant         = currentTenant;
     _contentRepository     = contentRepository;
     _tagManager            = tagManager;
     _entityTagManager      = entityTagManager;
     _entityTagRepository   = entityTagRepository;
     _pageRepository        = pageRepository;
     _blogRepository        = blogRepository;
     _blogPostRepository    = blogPostRepository;
     _blogFeatureRepository = blogFeatureRepository;
     _options    = options;
     _tagOptions = tagOptions;
     _mediaDescriptorRepository = mediaDescriptorRepository;
     _mediaBlobContainer        = mediaBlobContainer;
 }
示例#8
0
        public CommentViewProvider(
            IHttpContextAccessor httpContextAccessor,
            IStringLocalizer stringLocalize,
            IEntityTagManager <EntityTag> entityTagManager,
            IEntityTagStore <EntityTag> entityTagStore,
            IEntityReplyStore <Comment> replyStore,
            ITagManager <TagBase> tagManager,
            IFeatureFacade featureFacade,
            IContextFacade contextFacade,
            ITagStore <TagBase> tagStore)
        {
            _request          = httpContextAccessor.HttpContext.Request;
            _entityTagManager = entityTagManager;
            _entityTagStore   = entityTagStore;
            _featureFacade    = featureFacade;
            _contextFacade    = contextFacade;
            _tagManager       = tagManager;
            _tagStore         = tagStore;
            _replyStore       = replyStore;

            T = stringLocalize;
        }