示例#1
0
 public FeedController(
     IEnumerable<IFeedQueryProvider> feedQueryProviders,
     IEnumerable<IFeedBuilderProvider> feedFormatProviders,
     IFeedItemBuilder feedItemBuilder) {
     _feedQueryProviders = feedQueryProviders;
     _feedFormatProviders = feedFormatProviders;
     _feedItemBuilder = feedItemBuilder;
     Logger = NullLogger.Instance;
 }
 public FeedController(
     IEnumerable <IFeedQueryProvider> feedQueryProviders,
     IEnumerable <IFeedBuilderProvider> feedFormatProviders,
     IFeedItemBuilder feedItemBuilder)
 {
     _feedQueryProviders  = feedQueryProviders;
     _feedFormatProviders = feedFormatProviders;
     _feedItemBuilder     = feedItemBuilder;
     Logger = NullLogger.Instance;
 }
示例#3
0
 public FeedController(
     IEnumerable <IFeedQueryProvider> feedQueryProviders,
     IEnumerable <IFeedBuilderProvider> feedFormatProviders,
     IFeedItemBuilder feedItemBuilder,
     ILogger <FeedController> logger,
     IServiceProvider serviceProvider)
 {
     _feedQueryProviders  = feedQueryProviders;
     _feedFormatProviders = feedFormatProviders;
     _feedItemBuilder     = feedItemBuilder;
     _serviceProvider     = serviceProvider;
     Logger = logger;
 }
示例#4
0
 public FeedController(
     IEnumerable <IFeedQueryProvider> feedQueryProviders,
     IEnumerable <IFeedBuilderProvider> feedFormatProviders,
     IFeedItemBuilder feedItemBuilder,
     IServiceProvider serviceProvider,
     IUpdateModelAccessor updateModelAccessor)
 {
     _feedQueryProviders  = feedQueryProviders;
     _feedFormatProviders = feedFormatProviders;
     _feedItemBuilder     = feedItemBuilder;
     _serviceProvider     = serviceProvider;
     _updateModelAccessor = updateModelAccessor;
 }