/// <summary>
 /// Initializes a new instance of the <see cref="PopularTopicsManager"/> class
 /// </summary>
 /// <param name="topicsStore">Topics store</param>
 /// <param name="usersStore">Users store</param>
 /// <param name="appsStore">Apps store</param>
 public PopularTopicsManager(
     ITopicsStore topicsStore,
     IUsersStore usersStore,
     IAppsStore appsStore)
 {
     this.topicsStore = topicsStore;
     this.usersStore  = usersStore;
     this.appsStore   = appsStore;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TopicsManager"/> class
 /// </summary>
 /// <param name="topicsStore">Topics store</param>
 /// <param name="userRelationshipsStore">User relationships store</param>
 /// <param name="fanoutTopicsQueue"><c>Fanout</c> topics queue</param>
 /// <param name="searchQueue">Search queue</param>
 /// <param name="popularTopicsManager">Popular topics manager</param>
 public TopicsManager(
     ITopicsStore topicsStore,
     IUserRelationshipsStore userRelationshipsStore,
     IFanoutTopicsQueue fanoutTopicsQueue,
     ISearchQueue searchQueue,
     IPopularTopicsManager popularTopicsManager)
 {
     this.topicsStore            = topicsStore;
     this.userRelationshipsStore = userRelationshipsStore;
     this.fanoutTopicsQueue      = fanoutTopicsQueue;
     this.searchQueue            = searchQueue;
     this.popularTopicsManager   = popularTopicsManager;
 }
예제 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LikesManager"/> class
 /// </summary>
 /// <param name="likesStore">Likes store</param>
 /// <param name="topicsStore">Topics store</param>
 /// <param name="usersStore">Users store</param>
 /// <param name="likesQueue">Likes queue</param>
 /// <param name="fanoutActivitiesQueue"><c>Fanout</c> activities queue</param>
 /// <param name="popularTopicsManager">Popular topics manager</param>
 /// <param name="notificationsManager">Notifications manager</param>
 public LikesManager(
     ILikesStore likesStore,
     ITopicsStore topicsStore,
     IUsersStore usersStore,
     ILikesQueue likesQueue,
     IFanoutActivitiesQueue fanoutActivitiesQueue,
     IPopularTopicsManager popularTopicsManager,
     INotificationsManager notificationsManager)
 {
     this.likesStore            = likesStore;
     this.topicsStore           = topicsStore;
     this.usersStore            = usersStore;
     this.likesQueue            = likesQueue;
     this.fanoutActivitiesQueue = fanoutActivitiesQueue;
     this.popularTopicsManager  = popularTopicsManager;
     this.notificationsManager  = notificationsManager;
 }