Exemplo n.º 1
0
 public BestCommentsScene(INewsService newsService
                          , SportsSettings sportsSettings
                          , INewsArticleCommentService newsArticleCommentService)
 {
     _newsService               = newsService;
     _sportsSettings            = sportsSettings;
     _newsArticleCommentService = newsArticleCommentService;
 }
Exemplo n.º 2
0
 public CleanWorker(SportsSettings sportsSettings, IServiceProvider serviceProvider)
     : base(serviceProvider)
 {
     if (sportsSettings == null)
     {
         throw new ArgumentNullException(nameof(sportsSettings));
     }
     TimerInterval   = TimeSpan.FromDays(1);
     _daysToKeepData = sportsSettings.DaysToKeepData;
 }
Exemplo n.º 3
0
 public NewsScene(INewsService newsService, SportsSettings sportsSettings)
 {
     NewsService = newsService;
     NewsPerPage = sportsSettings.NewsToDisplay;
 }
Exemplo n.º 4
0
 public LatestNewsScene(INewsService newsService, SportsSettings sportsSettings)
     : base(newsService, sportsSettings)
 {
 }
Exemplo n.º 5
0
 public MainNewsScene(INewsService newsService, SportsSettings sportsSettings)
     : base(newsService, sportsSettings)
 {
 }
Exemplo n.º 6
0
 public AliceServiceTests(ServerFixture serverFixture, ITestOutputHelper testOutputHelper)
     : base(testOutputHelper)
 {
     _services       = serverFixture.Services;
     _sportsSettings = _services.GetService <SportsSettings>();
 }