Beispiel #1
0
 public MediaDescriptorAppService([NotNull] IBlobContainer <MediaContainer> mediaContainer,
                                  [NotNull] IMediaDescriptorRepository mediaDescriptorRepository,
                                  [NotNull] MediaDescriptorManager mediaDescriptorManager,
                                  [NotNull] IMediaDescriptorDefinitionStore mediaDescriptorDefinitionStore)
 {
     MediaContainer                 = mediaContainer ?? throw new ArgumentNullException(nameof(mediaContainer));
     MediaDescriptorRepository      = mediaDescriptorRepository ?? throw new ArgumentNullException(nameof(mediaDescriptorRepository));
     MediaDescriptorManager         = mediaDescriptorManager ?? throw new ArgumentNullException(nameof(mediaDescriptorManager));
     MediaDescriptorDefinitionStore = mediaDescriptorDefinitionStore ?? throw new ArgumentNullException(nameof(mediaDescriptorDefinitionStore));
 }
Beispiel #2
0
 public MediaDescriptorAdminAppService(
     IBlobContainer <MediaContainer> mediaContainer,
     IMediaDescriptorRepository mediaDescriptorRepository,
     MediaDescriptorManager mediaDescriptorManager,
     IMediaDescriptorDefinitionStore mediaDescriptorDefinitionStore)
 {
     MediaContainer                 = mediaContainer;
     MediaDescriptorRepository      = mediaDescriptorRepository;
     MediaDescriptorManager         = mediaDescriptorManager;
     MediaDescriptorDefinitionStore = mediaDescriptorDefinitionStore;
 }
Beispiel #3
0
 public CmsKitDataSeedContributor(
     IGuidGenerator guidGenerator,
     ICmsUserRepository cmsUserRepository,
     CmsKitTestData cmsKitTestData,
     ICommentRepository commentRepository,
     ReactionManager reactionManager,
     IRatingRepository ratingRepository,
     ICurrentTenant currentTenant,
     TagManager tagManager,
     ITagRepository tagRepository,
     IEntityTagRepository entityTagRepository,
     IPageRepository pageRepository,
     IBlogRepository blogRepository,
     IBlogPostRepository blogPostRepository,
     BlogPostManager blogPostmanager,
     IBlogFeatureRepository blogFeatureRepository,
     EntityTagManager entityTagManager,
     IOptions <CmsKitReactionOptions> reactionOptions,
     IOptions <CmsKitTagOptions> tagOptions,
     IMediaDescriptorRepository mediaDescriptorRepository,
     IBlobContainer <MediaContainer> mediaBlobContainer,
     BlogManager blogManager,
     IOptions <CmsKitMediaOptions> cmsMediaOptions,
     IOptions <CmsKitCommentOptions> commentsOptions,
     IOptions <CmsKitRatingOptions> ratingOptions,
     IMenuItemRepository menuItemRepository)
 {
     _guidGenerator             = guidGenerator;
     _cmsUserRepository         = cmsUserRepository;
     _cmsKitTestData            = cmsKitTestData;
     _commentRepository         = commentRepository;
     _reactionManager           = reactionManager;
     _ratingRepository          = ratingRepository;
     _currentTenant             = currentTenant;
     _tagManager                = tagManager;
     _tagRepository             = tagRepository;
     _entityTagManager          = entityTagManager;
     _entityTagRepository       = entityTagRepository;
     _pageRepository            = pageRepository;
     _blogRepository            = blogRepository;
     _blogPostRepository        = blogPostRepository;
     _blogPostManager           = blogPostmanager;
     _blogFeatureRepository     = blogFeatureRepository;
     _reactionOptions           = reactionOptions;
     _tagOptions                = tagOptions;
     _mediaDescriptorRepository = mediaDescriptorRepository;
     _mediaBlobContainer        = mediaBlobContainer;
     _blogManager               = blogManager;
     _mediaOptions              = cmsMediaOptions;
     _commentsOptions           = commentsOptions;
     _ratingOptions             = ratingOptions;
     _menuItemRepository        = menuItemRepository;
 }
 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,
     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;
     _options                   = options;
     _tagOptions                = tagOptions;
     _mediaDescriptorRepository = mediaDescriptorRepository;
     _mediaBlobContainer        = mediaBlobContainer;
 }
 public MediaDescriptorAdminAppService_Tests()
 {
     _cmsKitTestData = GetRequiredService <CmsKitTestData>();
     _mediaDescriptorAdminAppService = GetRequiredService <IMediaDescriptorAdminAppService>();
     _mediaDescriptorRepository      = GetRequiredService <IMediaDescriptorRepository>();
 }
 public MediaDescriptorAppService(IMediaDescriptorRepository mediaDescriptorRepository, IBlobContainer <MediaContainer> mediaContainer)
 {
     MediaDescriptorRepository = mediaDescriptorRepository;
     MediaContainer            = mediaContainer;
 }
Beispiel #7
0
 public MediaDescriptorAdminAppService(IBlobContainer <MediaContainer> mediaContainer, IMediaDescriptorRepository mediaDescriptorRepository)
 {
     MediaContainer            = mediaContainer;
     MediaDescriptorRepository = mediaDescriptorRepository;
 }