示例#1
0
 public ContentController(IFindBlogArticleCoordinator findBlogArticleCoordinator, IBogMarkdownConverterStrategy bogMarkdownConverterStrategy, IGetTagsForArticleCoordinator getTagsForArticleCoordinator, IPaginatedArticleListingCoordinator paginatedArticleListingCoordinator)
 {
     _findBlogArticleCoordinator         = findBlogArticleCoordinator;
     _bogMarkdownConverterStrategy       = bogMarkdownConverterStrategy;
     _getTagsForArticleCoordinator       = getTagsForArticleCoordinator;
     _paginatedArticleListingCoordinator = paginatedArticleListingCoordinator;
 }
示例#2
0
 public ArticleController(ICreateArticleCoordinator createArticleCoordinator,
                          IFindBlogArticleCoordinator findBlogArticleCoordinator,
                          IUpdateArticleCoordinator updateArticleCoordinator,
                          IDeleteArticleCoordinator deleteArticleCoordinator)
 {
     _createArticleCoordinator   = createArticleCoordinator;
     _findBlogArticleCoordinator = findBlogArticleCoordinator;
     _updateArticleCoordinator   = updateArticleCoordinator;
     _deleteArticleCoordinator   = deleteArticleCoordinator;
 }
 public GetArticleMediaLookupStrategy(IFindBlogArticleCoordinator findBlogArticleCoordinator, IGetMediaLookupQuery mediaLookupQuery)
 {
     _findBlogArticleCoordinator = findBlogArticleCoordinator ?? throw new ArgumentNullException(nameof(findBlogArticleCoordinator));
     _mediaLookupQuery           = mediaLookupQuery ?? throw new ArgumentNullException(nameof(mediaLookupQuery));
 }