public BansController(UserManager <ApplicationUser> userManager, IMapper mapper, IBanService banService) : base(userManager) { _mapper = mapper; _banService = banService; }
public AdminController(IAdminService adminService, IUserService userService, IBanService banService, IBuildingService buildingService, IQueueService queueService, IUserBuildingService userBuildingService, IUserProductService userProductService, IMapService mapService, IMarketService marketService, IDolarService dolarService, IDealService dealService, INotificationService notificationService, IProductService productService, IMessageService messageService, IProductRequirementsService productRService) { _adminService = adminService; _userService = userService; _banService = banService; _buildingService = buildingService; _queueService = queueService; _userBuildingService = userBuildingService; _userProductService = userProductService; _mapService = mapService; _marketService = marketService; _dolarService = dolarService; _dealService = dealService; _notificationService = notificationService; _productService = productService; _messageService = messageService; _productRService = productRService; }
public UserService(LMSContext context, IBanService banService ) { _context = context; _banService = banService; }
public PostService( IStorageProviderFactory storageProviderFactory, ILogger <PostService> logger, IOptions <HikkabaConfiguration> settings, IBanService banService, ICryptoService cryptoService, IAudioService audioService, IDocumentService documentService, IPictureService pictureService, IVideoService videoService, IThumbnailGenerator thumbnailGenerator, IAttachmentCategorizer attachmentCategorizer, IMapper mapper, ApplicationDbContext context, UserManager <ApplicationUser> userManager, ICategoryToModeratorService categoryToModeratorService) : base(mapper, context, userManager) { _storageProvider = storageProviderFactory.CreateStorageProvider(); _logger = logger; _banService = banService; _hikkabaConfiguration = settings.Value; _cryptoService = cryptoService; _audioService = audioService; _documentService = documentService; _pictureService = pictureService; _videoService = videoService; _thumbnailGenerator = thumbnailGenerator; _attachmentCategorizer = attachmentCategorizer; _categoryToModeratorService = categoryToModeratorService; }
public UsersController(IBanService banService, IViewModelMapper <UserDto, UserViewModel> userMapper, IToastNotification toastNotification) { this.banService = banService ?? throw new ArgumentNullException(nameof(banService)); this.userMapper = userMapper ?? throw new ArgumentNullException(nameof(userMapper)); this.toastNotification = toastNotification ?? throw new ArgumentNullException(nameof(toastNotification)); }
public UserManager(IDatabase database, IBanService banService, IReadOnlySerialService serialService, IRolesService rolesService, IHttpContextReader httpContextReader) { this.database = database; this.banService = banService; this.serialService = serialService; this.rolesService = rolesService; this.httpContextReader = httpContextReader; }
public ListController(UserManager <ApplicationUser> userManager, IMapper mapper, IBanService banService, IPostRepository postrepo) { _userManager = userManager; _mapper = mapper; _banService = banService; _postrepo = postrepo; }
public AccountController( IAccountService accountService, IBanService banService, IStringLocalizer <AccountController> localizer, ILogger <AccountController> logger) : base(localizer, logger) { _accountService = accountService; _banService = banService; }
public LoginModel(SignInManager <User> signInManager, ILogger <LoginModel> logger, IUserService userService, IBanService banServices) { _signInManager = signInManager; _logger = logger; _banServices = banServices; _userServices = userService; }
public AdminController( IPostService postService, ICategoryService categoryService, ICommentService commentService, IReplyService replyService, IUserService userService, IRoleService roleService, IBanService banService) { _postService = postService; _categoryService = categoryService; _commentService = commentService; _replyService = replyService; _userService = userService; _roleService = roleService; _banService = banService; }
public AccountService( IAccountRepository accountRepository, IBanService banService, IAuthorizationService authorizationService, UserManager <AccountIdentity> userManager, SignInManager <AccountIdentity> signInManager, RoleManager <IdentityRole> roleManager) { _userManager = userManager; _banService = banService; _signInManager = signInManager; _roleManager = roleManager; _accountRepository = accountRepository; }
public IdentityService( GameDBContext ctx, IOptions <ApplicationSettings> applicationSettings, ISqlManager sqlManager, IEncrypter encrypter, IBanService banService, IEmailService emailService) { _applicationSettings = applicationSettings.Value; _context = ctx; _sqlManager = sqlManager; _encrypter = encrypter; _banService = banService; _emailService = emailService; }
protected internal AdminController(IUserService userService, IProfileService profileService, ISettingsManager settingsManager, ICategoryService categoryService, IForumService forumService, ISearchService searchService, ISecurityLogService securityLogService, IErrorLog errorLog, IBanService banService, IModerationLogService modLogService, IIPHistoryService ipHistoryService, IImageService imageService, IMailingListService mailingListService, IEventDefinitionService eventDefinitionService, IAwardDefinitionService awardDefinitionService, IEventPublisher eventPublisher) { _userService = userService; _profileService = profileService; _settingsManager = settingsManager; _categoryService = categoryService; _forumService = forumService; _searchService = searchService; _securityLogService = securityLogService; _errorLogService = errorLog; _banService = banService; _moderationLogService = modLogService; _ipHistoryService = ipHistoryService; _imageService = imageService; _mailingListService = mailingListService; _eventDefinitionService = eventDefinitionService; _awardDefinitionService = awardDefinitionService; _eventPublisher = eventPublisher; }
protected internal AdminController(IUserService userService, IProfileService profileService, ISettingsManager settingsManager, ICategoryService categoryService, IForumService forumService, ISearchService searchService, ISecurityLogService securityLogService, IErrorLog errorLog, IBanService banService, IModerationLogService modLogService, IIPHistoryService ipHistoryService, IImageService imageService, IMailingListService mailingListService, IEventDefinitionService eventDefinitionService, IAwardDefinitionService awardDefinitionService, IEventPublisher eventPublisher) { _userService = userService; _profileService = profileService; _settingsManager = settingsManager; _categoryService = categoryService; _forumService = forumService; _searchService = searchService; _securityLogService = securityLogService; _errorLogService = errorLog; _banService = banService; _moderationLogService = modLogService; _ipHistoryService = ipHistoryService; _imageService = imageService; _mailingListService = mailingListService; _eventDefinitionService = eventDefinitionService; _awardDefinitionService = awardDefinitionService; _eventPublisher = eventPublisher; }
public ThreadService(IMapper mapper, ApplicationDbContext context, IStorageProvider storageProvider, IOptions <HikkabaConfiguration> settings, ICategoryToModeratorService categoryToModeratorService, IBanService banService, ICryptoService cryptoService, IThumbnailGenerator thumbnailGenerator, IAttachmentCategorizer attachmentCategorizer) : base(mapper) { _mapper = mapper; _context = context; _storageProvider = storageProvider; _hikkabaConfiguration = settings.Value; _categoryToModeratorService = categoryToModeratorService; _banService = banService; _cryptoService = cryptoService; _thumbnailGenerator = thumbnailGenerator; _attachmentCategorizer = attachmentCategorizer; }
public AdminApiController(ISettingsManager settingsManager, ICategoryService categoryService, IForumService forumService, IUserService userService, ISearchService searchService, IProfileService profileService, IUserRetrievalShim userRetrievalShim, IImageService imageService, IBanService banService, IMailingListService mailingListService, IEventDefinitionService eventDefinitionService, IAwardDefinitionService awardDefinitionService, IEventPublisher eventPublisher, IIPHistoryService ipHistoryService, ISecurityLogService securityLogService, IModerationLogService moderationLogService, IErrorLog errorLog, IServiceHeartbeatService serviceHeartbeatService) { _settingsManager = settingsManager; _categoryService = categoryService; _forumService = forumService; _userService = userService; _searchService = searchService; _profileService = profileService; _userRetrievalShim = userRetrievalShim; _imageService = imageService; _banService = banService; _mailingListService = mailingListService; _eventDefinitionService = eventDefinitionService; _awardDefinitionService = awardDefinitionService; _eventPublisher = eventPublisher; _ipHistoryService = ipHistoryService; _securityLogService = securityLogService; _moderationLogService = moderationLogService; _errorLog = errorLog; _serviceHeartbeatService = serviceHeartbeatService; }
public BanServiceTests() { this.db = DbGenerator.GetDbContext(); DbSeeder.SeedNormalUsers(this.db); this.banService = new BanService(this.db); }
public BanController(IBanService banService) { this.banService = banService; }
public AccountController(IAccountService accountService, IUserService userService, IBanService banService) { _accountService = accountService; _userService = userService; _banService = banService; }
public ViewerController(IBanService banService) { _banService = banService; }
public TestableAdminController(IUserService userService, IProfileService profileService, ISettingsManager settingsManager, ICategoryService categoryService, IForumService forumService, ISearchService searchService, ISecurityLogService securityLogService, IErrorLog errorLog, IBanService banService, IModerationLogService modLogService, IIPHistoryService ipHistoryService, IImageService imageService, IMailingListService mailingListService, IEventDefinitionService eventDefinitonService, IAwardDefinitionService awardDefinitionService, IEventPublisher eventPublisher) : base(userService, profileService, settingsManager, categoryService, forumService, searchService, securityLogService, errorLog, banService, modLogService, ipHistoryService, imageService, mailingListService, eventDefinitonService, awardDefinitionService, eventPublisher) { }
public LoggedBanService(IBanService service) { _banService = service; }
public BanController(ILogger <BanController> logger, IBanService banService, IBanSourceService banSourceService) { _logger = logger; _banService = banService; _banSourceService = banSourceService; }
public BanController(IBanService banService) { _banService = banService; }
public BanController(IBanService banService, IUserService userService) { _banService = banService; _userService = userService; }
public TestableAdminController(IUserService userService, IProfileService profileService, ISettingsManager settingsManager, ICategoryService categoryService, IForumService forumService, ISearchService searchService, ISecurityLogService securityLogService, IErrorLog errorLog, IBanService banService, IModerationLogService modLogService, IIPHistoryService ipHistoryService, IImageService imageService, IMailingListService mailingListService, IEventDefinitionService eventDefinitonService, IAwardDefinitionService awardDefinitionService, IEventPublisher eventPublisher) : base(userService, profileService, settingsManager, categoryService, forumService, searchService, securityLogService, errorLog, banService, modLogService, ipHistoryService, imageService, mailingListService, eventDefinitonService, awardDefinitionService, eventPublisher) { }
public BanController(IBanService banService, IBanSourceService banSourceService) { _banService = banService; _banSourceService = banSourceService; }
public BanController(IBanService banTable) { _banTable = banTable; }