public PagedNewsAggregator(INewsSourceRegistry <NewsSource> registry, ICrossSourceAggregationStrategy aggregationStrategy, IPagingStrategy pagingStrategy) { _newsSources = registry.GetNewsSources(); registry.OnSourceRegistered += Registry_OnSourceRegistered; registry.OnSourceUnregistered += Registry_OnSourceUnregistered; _aggregationStrategy = aggregationStrategy; _pagingStrategy = pagingStrategy; }
public NewspaperPublisher(INewsSourceRegistry newsSourceRegistery, IAppConfiguration configuration) { _newsSourceRegistery = newsSourceRegistery; _configuration = configuration; }
public NewsSourceController(INewsSourceRegistry <NewsSource> registry) { _registry = registry; }