/// <summary> /// Initializes a new instance of the <see cref="ReplyLikesController"/> class /// </summary> /// <param name="log">Log</param> /// <param name="likesManager">Likes manager</param> /// <param name="topicsManager">Topics manager</param> /// <param name="commentsManager">Comments manager</param> /// <param name="repliesManager">Replies manager</param> /// <param name="viewsManager">Views manager</param> /// <param name="handleGenerator">Handle generator</param> /// <param name="applicationMetrics">Application metrics logger</param> public ReplyLikesController( ILog log, ILikesManager likesManager, ITopicsManager topicsManager, ICommentsManager commentsManager, IRepliesManager repliesManager, IViewsManager viewsManager, IHandleGenerator handleGenerator, IApplicationMetrics applicationMetrics) : base(log, likesManager, topicsManager, commentsManager, repliesManager, viewsManager, handleGenerator, applicationMetrics) { this.log = log; }
public Api(IMapper mapper, ITagsCrudService tagsCrudService, IResourcesManager resourcesManager, ICollectionsCrudService collectionsCrudService, IOptionalFieldsManager optionalFieldsManager, IItemsManager itemsManager, ICollectionsManager collectionsManager, IItemsCrudService itemsCrudService, ILikesManager likesManager, ICommentsManager commentsManager) { this.mapper = mapper; this.resourcesManager = resourcesManager; this.collectionsCrudService = collectionsCrudService; this.optionalFieldsManager = optionalFieldsManager; this.itemsManager = itemsManager; this.collectionsManager = collectionsManager; this.tagsCrudService = tagsCrudService; this.itemsCrudService = itemsCrudService; this.likesManager = likesManager; this.commentsManager = commentsManager; }
/// <summary> /// Initializes a new instance of the <see cref="LikesControllerBase"/> class /// </summary> /// <param name="log">Log</param> /// <param name="likesManager">Likes manager</param> /// <param name="topicsManager">Topics manager</param> /// <param name="commentsManager">Comments manager</param> /// <param name="repliesManager">Replies manager</param> /// <param name="viewsManager">Views manager</param> /// <param name="handleGenerator">Handle generator</param> /// <param name="applicationMetrics">Application metrics logger</param> public LikesControllerBase( ILog log, ILikesManager likesManager, ITopicsManager topicsManager, ICommentsManager commentsManager, IRepliesManager repliesManager, IViewsManager viewsManager, IHandleGenerator handleGenerator, IApplicationMetrics applicationMetrics) { this.log = log; this.likesManager = likesManager; this.topicsManager = topicsManager; this.commentsManager = commentsManager; this.repliesManager = repliesManager; this.viewsManager = viewsManager; this.handleGenerator = handleGenerator; this.applicationMetrics = applicationMetrics; }
/// <summary> /// Initializes a new instance of the <see cref="LikesWorker"/> class /// </summary> /// <param name="log">log</param> /// <param name="likesQueue">Likes queue</param> /// <param name="likesManager">Likes manager</param> public LikesWorker(ILog log, ILikesQueue likesQueue, ILikesManager likesManager) : base(log) { this.Queue = likesQueue; this.likesManager = likesManager; }
public ItemHub(ILikesManager likesManager, ICommentsManager commentsManager, ISessionHelper sessionHelper) : base() { this.likesManager = likesManager; this.commentsManager = commentsManager; this.sessionHelper = sessionHelper; }
public LikesController(ILikesManager likesManager, ITokenManager tokenManager) { _likesManager = likesManager; _tokenManager = tokenManager; }