Exemplo n.º 1
0
 public TrustRolesService(IQueryBus queryBus, ICommandBus commandBus, MessagesServiceFactory messagesServiceFactory, CheckUserSafetyService checkUserSafetyService, UsersRolesService usersRolesService)
 {
     this._queryBus               = queryBus;
     this._commandBus             = commandBus;
     this._messagesServiceFactory = messagesServiceFactory;
     this._checkUserSafetyService = checkUserSafetyService;
     this._usersRolesService      = usersRolesService;
 }
Exemplo n.º 2
0
 public AdministrationController(IQueryBus queryBus, UsersService usersService, DirectMessagesService directMessagesService, MessagesServiceFactory messagesServiceFactory, RolesService rolesService, TrustRolesService trustRolesService, CheckUserSafetyService checkUserSafetyService, UsersRolesService usersRolesService, IConfigurationService configurationService)
 {
     this._queryBus               = queryBus;
     this._usersService           = usersService;
     this._directMessagesService  = directMessagesService;
     this._messagesServiceFactory = messagesServiceFactory;
     this._rolesService           = rolesService;
     this._trustRolesService      = trustRolesService;
     this._checkUserSafetyService = checkUserSafetyService;
     this._usersRolesService      = usersRolesService;
     this._configurationService   = configurationService;
 }
Exemplo n.º 3
0
 public AntiSpamController(ServerMessagesCacheService serverMessagesCacheService, CheckUserSafetyService checkUserSafetyService, PunishmentsCachingService punishmentsCachingService, AntiSpamService antiSpamService, ConfigurationService configurationService)
 {
     this._serverMessagesCacheService = serverMessagesCacheService;
     this._punishmentsCachingService  = punishmentsCachingService;
     this._antiSpamService            = antiSpamService;
     this._overallSpamDetector        = OverallSpamDetectorStrategy.GetStrategyWithDefaultDetectors(serverMessagesCacheService, checkUserSafetyService, configurationService);
     this._spamPunishmentStrategy     = new SpamPunishmentStrategy(punishmentsCachingService);
 }