/// <summary>
 /// Initializes a new instance of the <see cref="ActivitiesManager"/> class
 /// </summary>
 /// <param name="activitiesStore">Activities store</param>
 /// <param name="userRelationshipsStore">User relationships store</param>
 /// <param name="topicRelationshipsStore">Topic relationships store</param>
 public ActivitiesManager(
     IActivitiesStore activitiesStore,
     IUserRelationshipsStore userRelationshipsStore,
     ITopicRelationshipsStore topicRelationshipsStore)
 {
     this.activitiesStore         = activitiesStore;
     this.userRelationshipsStore  = userRelationshipsStore;
     this.topicRelationshipsStore = topicRelationshipsStore;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RelationshipsManager"/> class
 /// </summary>
 /// <param name="log">Log</param>
 /// <param name="userRelationshipsStore">User relationships store</param>
 /// <param name="topicRelationshipsStore">Topic relationships store</param>
 /// <param name="relationshipsQueue">Relationships queue</param>
 /// <param name="fanoutActivitiesQueue"><c>Fanout</c> activities queue</param>
 /// <param name="followingImportsQueue">Following imports queue</param>
 /// <param name="popularUsersManager">Popular users manager</param>
 /// <param name="notificationsManager">Notifications manager</param>
 public RelationshipsManager(
     ILog log,
     IUserRelationshipsStore userRelationshipsStore,
     ITopicRelationshipsStore topicRelationshipsStore,
     IRelationshipsQueue relationshipsQueue,
     IFanoutActivitiesQueue fanoutActivitiesQueue,
     IFollowingImportsQueue followingImportsQueue,
     IPopularUsersManager popularUsersManager,
     INotificationsManager notificationsManager)
 {
     this.log = log;
     this.userRelationshipsStore  = userRelationshipsStore;
     this.topicRelationshipsStore = topicRelationshipsStore;
     this.relationshipsQueue      = relationshipsQueue;
     this.fanoutActivitiesQueue   = fanoutActivitiesQueue;
     this.followingImportsQueue   = followingImportsQueue;
     this.popularUsersManager     = popularUsersManager;
     this.notificationsManager    = notificationsManager;
 }