예제 #1
0
 public FeedFactory(
     IArticleService articleService,
     IFeedItemConverter feedItemConverter,
     IUrlGenerator urlGenerator,
     string feedTitle,
     string feedDescription,
     int maxItemCount)
 {
     _articleService    = articleService;
     _feedItemConverter = feedItemConverter;
     _urlGenerator      = urlGenerator;
     _feedTitle         = feedTitle;
     _feedDescription   = feedDescription;
     _maxItemCount      = maxItemCount;
 }
예제 #2
0
 public FeedFactory(
     IArticleService articleService, 
     IFeedItemConverter feedItemConverter, 
     IUrlGenerator urlGenerator,
     string feedTitle,
     string feedDescription,
     int maxItemCount)
 {
     _articleService = articleService;
     _feedItemConverter = feedItemConverter;
     _urlGenerator = urlGenerator;
     _feedTitle = feedTitle;
     _feedDescription = feedDescription;
     _maxItemCount = maxItemCount;
 }