コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MyTopicsController"/> class
 /// </summary>
 /// <param name="log">Log</param>
 /// <param name="topicsManager">Topics manager</param>
 /// <param name="popularTopicsManager">Popular topics manager</param>
 /// <param name="viewsManager">Views manager</param>
 public MyTopicsController(
     ILog log,
     ITopicsManager topicsManager,
     IPopularTopicsManager popularTopicsManager,
     IViewsManager viewsManager)
     : base(log, viewsManager)
 {
     this.log                  = log;
     this.topicsManager        = topicsManager;
     this.popularTopicsManager = popularTopicsManager;
 }
コード例 #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="UserTopicsController"/> class
 /// </summary>
 /// <param name="log">Log</param>
 /// <param name="topicsManager">Topics manager</param>
 /// <param name="popularTopicsManager">Popular topics manager</param>
 /// <param name="usersManager">Users manager</param>
 /// <param name="relationshipsManager">Relationships manager</param>
 /// <param name="viewsManager">Views manager</param>
 public UserTopicsController(
     ILog log,
     ITopicsManager topicsManager,
     IPopularTopicsManager popularTopicsManager,
     IUsersManager usersManager,
     IRelationshipsManager relationshipsManager,
     IViewsManager viewsManager)
     : base(log, viewsManager)
 {
     this.log                  = log;
     this.topicsManager        = topicsManager;
     this.popularTopicsManager = popularTopicsManager;
     this.usersManager         = usersManager;
     this.relationshipsManager = relationshipsManager;
 }
コード例 #4
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;
 }
コード例 #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TopicsController"/> class
 /// </summary>
 /// <param name="log">Log</param>
 /// <param name="usersManager">Users manager</param>
 /// <param name="topicsManager">Topics manager</param>
 /// <param name="appsManager">Apps manager</param>
 /// <param name="popularTopicsManager">Popular topics manager</param>
 /// <param name="viewsManager">Views manager</param>
 /// <param name="topicNamesManager">Topic names manager</param>
 /// <param name="handleGenerator">Handle generator</param>
 public TopicsController(
     ILog log,
     IUsersManager usersManager,
     ITopicsManager topicsManager,
     IAppsManager appsManager,
     IPopularTopicsManager popularTopicsManager,
     IViewsManager viewsManager,
     ITopicNamesManager topicNamesManager,
     IHandleGenerator handleGenerator)
     : base(log, viewsManager)
 {
     this.log                  = log;
     this.usersManager         = usersManager;
     this.topicsManager        = topicsManager;
     this.appsManager          = appsManager;
     this.popularTopicsManager = popularTopicsManager;
     this.viewsManager         = viewsManager;
     this.topicNamesManager    = topicNamesManager;
     this.handleGenerator      = handleGenerator;
 }
コード例 #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ExpirationsWorker"/> class
 /// </summary>
 /// <param name="popularTopicsManager">Popular topics manager</param>
 public ExpirationsWorker(IPopularTopicsManager popularTopicsManager)
 {
     this.popularTopicsManager = popularTopicsManager;
 }