public EntityReactionsManager( IEntityReactionsStore <EntityReaction> entityReactionsStore, IEntityStore <Entity> entityStore, IBroker broker) { _entityReactionsStore = entityReactionsStore; _entityStore = entityStore; _broker = broker; }
public SimpleReactionsStore( IStringLocalizer localizer, IReactionsManager <Reaction> reactionManager, IEntityReactionsStore <EntityReaction> entityReactionStore) { _localizer = localizer; _reactionManager = reactionManager; _entityReactionStore = entityReactionStore; }
public ReactController( IEntityReactionsManager <EntityReaction> entityReactionManager, IEntityReactionsStore <EntityReaction> entityReactionsStore, ISimpleReactionsStore simpleReactionsStore, IAuthorizationService authorizationService, IClientIpAddress clientIpAddress) { _simpleReactionsStore = simpleReactionsStore; _entityReactionManager = entityReactionManager; _entityReactionsStore = entityReactionsStore; _clientIpAddress = clientIpAddress; _authorizationService = authorizationService; }