public SyndicationItemFactory(IContentLoader contentLoader, IFeedContentResolver feedContentResolver, IFeedContentFilterer feedFilterer, IFeedDescriptionProvider feedDescriptionProvider, IContentCategoryLoader contentCategoryLoader)
 {
     ContentLoader = contentLoader;
     ContentCategoryLoader = contentCategoryLoader;
     FeedContentResolver = feedContentResolver ?? new FeedContentResolver(ContentLoader);
     FeedFilterer = feedFilterer ?? new FeedContentFilterer();
     FeedDescriptionProvider = feedDescriptionProvider ?? new FeedDescriptionProvider();
 }
 public SyndicationItemFactory(IContentLoader contentLoader, IFeedContentResolver feedContentResolver, IFeedContentFilterer feedFilterer, IFeedDescriptionProvider feedDescriptionProvider, IContentCategoryLoader contentCategoryLoader)
 {
     ContentLoader           = contentLoader;
     ContentCategoryLoader   = contentCategoryLoader;
     FeedContentResolver     = feedContentResolver ?? new FeedContentResolver(ContentLoader);
     FeedFilterer            = feedFilterer ?? new FeedContentFilterer();
     FeedDescriptionProvider = feedDescriptionProvider ?? new FeedDescriptionProvider();
 }
예제 #3
0
 public SyndicationFeedController(IContentLoader contentLoader, IFeedContentResolver feedContentResolver, IFeedContentFilterer feedContentFilterer, IItemDescriptionProvider itemDescriptionProvider, IItemModifier itemModifier, CategoryRepository categoryRepository)
 {
     ContentLoader           = contentLoader;
     FeedContentResolver     = feedContentResolver;
     FeedFilterer            = feedContentFilterer;
     ItemDescriptionProvider = itemDescriptionProvider;
     ItemModifier            = itemModifier;
     CatRepository           = categoryRepository;
 }
예제 #4
0
        public SyndicationFeedController()
        {
            ContentLoader       = ServiceLocator.Current.GetInstance <IContentLoader>();
            FeedContentResolver = ServiceLocator.Current.GetInstance <IFeedContentResolver>();
            FeedFilterer        = ServiceLocator.Current.GetInstance <IFeedContentFilterer>();

            ItemDescriptionProvider = ServiceLocator.Current.GetInstance <IItemDescriptionProvider>();
            ItemModifier            = ServiceLocator.Current.GetInstance <IItemModifier>();

            CatRepository = ServiceLocator.Current.GetInstance <CategoryRepository>();
        }
예제 #5
0
 public SyndicationItemFactory(IContentLoader contentLoader, IFeedContentResolver feedContentResolver,
                               IFeedContentFilterer feedFilterer, IItemDescriptionProvider itemDescriptionProvider,
                               IItemModifier itemModifier, SyndicationFeedContext feedContext)
 {
     ContentLoader           = contentLoader;
     FeedContentResolver     = feedContentResolver ?? new FeedContentResolver(ContentLoader);
     FeedFilterer            = feedFilterer ?? new FeedContentFilterer();
     ItemDescriptionProvider = itemDescriptionProvider ?? new ItemDescriptionProvider();
     ItemModifier            = itemModifier ?? new ItemNullModifier();
     FeedContext             = feedContext;
 }
예제 #6
0
 public SyndicationItemFactory(IContentLoader contentLoader, IFeedContentResolver feedContentResolver, SyndicationFeedPageType feedPage)
 {
     ContentLoader       = contentLoader;
     FeedContentResolver = feedContentResolver;
     FeedPage            = feedPage;
 }
 public SyndicationItemFactory(IContentLoader contentLoader, IFeedContentResolver feedContentResolver, SyndicationFeedPageType feedPage)
 {
     ContentLoader = contentLoader;
     FeedContentResolver = feedContentResolver;
     FeedPage = feedPage;
 }
예제 #8
0
 public SyndicationFeedController(IContentLoader contentLoader, IFeedContentResolver feedContentResolver)
 {
     ContentLoader       = contentLoader;
     FeedContentResolver = feedContentResolver;
 }
예제 #9
0
 public SyndicationFeedController()
 {
     ContentLoader       = ServiceLocator.Current.GetInstance <IContentLoader>();
     FeedContentResolver = ServiceLocator.Current.GetInstance <IFeedContentResolver>();
 }
 public SyndicationFeedController(IContentLoader contentLoader, IFeedContentResolver feedContentResolver, ISyndicationItemFactory syndicationItemFactory)
 {
     ContentLoader          = contentLoader;
     FeedContentResolver    = feedContentResolver;
     SyndicationItemFactory = syndicationItemFactory;
 }