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; }
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; }
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); }