Пример #1
0
 public TwitterRepository(
     ITwitterAdapter _TwitterAdapter,
     IUnitOfWork _IUnitOfWork)
 {
     twitterAdapter = _TwitterAdapter;
     IUnitOfWork    = _IUnitOfWork;
 }
Пример #2
0
 public StatisticsService(
     ITwitterAdapter twitterAdapter,
     IGeneralizationService generalizationService,
     ISentimentService sentimentService,
     IMemoryCache cache)
 {
     _twitterAdapter        = twitterAdapter;
     _generalizationService = generalizationService;
     _sentimentService      = sentimentService;
     _cache = cache;
 }
Пример #3
0
 public TweetController(ITwitterAdapter adapter)
 {
     _adapter = adapter;
 }
Пример #4
0
 public AlertsService(IEmailAdapter emailAdapter, ITwitterAdapter twitterAdapter)
 {
     _emailAdapter       = emailAdapter;
     _twitterAdapter     = twitterAdapter;
     _meetingsRepository = new MeetingsRepository();
 }
Пример #5
0
 public AlertsService(IEmailAdapter emailAdapter, ITwitterAdapter twitterAdapter)
 {
     _emailAdapter = emailAdapter;
     _twitterAdapter = twitterAdapter;
     _meetingsRepository = new MeetingsRepository();
 }