Ejemplo n.º 1
0
 public EntityRatingsManager(
     IEntityRatingsStore <EntityRating> entityRatingsStore,
     IEntityStore <Entity> entityStore,
     IBroker broker)
 {
     _entityRatingsStore = entityRatingsStore;
     _entityStore        = entityStore;
     _broker             = broker;
 }
Ejemplo n.º 2
0
 public VoteController(
     IEntityReplyRatingAggregator <Reply> entityReplyRatingsAggregator,
     IEntityRatingAggregator <Topic> entityRatingsAggregator,
     IEntityRatingsManager <EntityRating> entityRatingManager,
     IEntityRatingsStore <EntityRating> entityRatingsStore,
     IAuthorizationService authorizationService,
     IEntityReplyStore <Reply> entityReplyStore,
     IEntityStore <Topic> entityStore,
     IClientIpAddress clientIpAddress)
 {
     _entityReplyRatingsAggregator = entityReplyRatingsAggregator;
     _entityRatingsAggregator      = entityRatingsAggregator;
     _authorizationService         = authorizationService;
     _entityRatingManager          = entityRatingManager;
     _entityRatingsStore           = entityRatingsStore;
     _entityReplyStore             = entityReplyStore;
     _clientIpAddress = clientIpAddress;
     _entityStore     = entityStore;
 }