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