public MemberListModel(ForumDbContext context, ForumTreeService forumService, UserService userService, IAppCache cache, CommonUtils utils, IConfiguration config, LanguageProvider languageProvider, AnonymousSessionCounter sessionCounter) : base(context, forumService, userService, cache, utils, languageProvider) { _config = config; _sessionCounter = sessionCounter; }
public ViewForumModel(ForumDbContext context, ForumTreeService forumService, UserService userService, IAppCache cache, BBCodeRenderingService renderingService, IConfiguration config, CommonUtils utils, LanguageProvider languageProvider) : base(context, forumService, userService, cache, utils, languageProvider) { _config = config; _renderingService = renderingService; }
public ModeratorModel(ForumDbContext context, ForumTreeService forumService, UserService userService, IAppCache cache, CommonUtils utils, LanguageProvider languageProvider, ModeratorService moderatorService, PostService postService, OperationLogService operationLogService) : base(context, forumService, userService, cache, utils, languageProvider) { _moderatorService = moderatorService; _postService = postService; _operationLogService = operationLogService; }
public FileModel(ForumDbContext context, ForumTreeService forumService, UserService userService, IAppCache cache, StorageService storageService, IConfiguration config, CommonUtils utils, FileExtensionContentTypeProvider contentTypeProvider, LanguageProvider languageProvider) : base(context, forumService, userService, cache, utils, languageProvider) { _storageService = storageService; _contentTypeProvider = contentTypeProvider; _config = config; }
public AuthenticatedPageModel(ForumDbContext context, ForumTreeService forumService, UserService userService, IAppCache cacheService, CommonUtils utils, LanguageProvider languageProvider) { ForumService = forumService; Cache = cacheService; UserService = userService; Context = context; Utils = utils; LanguageProvider = languageProvider; }
public AuthenticationMiddleware(ILogger logger, IConfiguration config, IAppCache cache, ForumDbContext context, ForumTreeService forumTreeService, UserService userService, AnonymousSessionCounter sessionCounter) { _logger = logger; _forumTreeService = forumTreeService; _context = context; _userService = userService; _config = config; _cache = cache; _sessionCounter = sessionCounter; }
public PostingModel(CommonUtils utils, ForumDbContext context, ForumTreeService forumService, UserService userService, IAppCache cacheService, PostService postService, StorageService storageService, WritingToolsService writingService, BBCodeRenderingService renderingService, IConfiguration config, LanguageProvider languageProvider, IHttpClientFactory httpClientFactory) : base(context, forumService, userService, cacheService, utils, languageProvider) { PollExpirationDaysString = "1"; PollMaxOptions = 1; DeleteFileDummyForValidation = new List <string>(); _postService = postService; _storageService = storageService; _writingService = writingService; _renderingService = renderingService; _config = config; _imageProcessorOptions = _config.GetObject <ExternalImageProcessor>(); _imageProcessorClient = _imageProcessorOptions.Api?.Enabled == true?httpClientFactory.CreateClient(_imageProcessorOptions.Api.ClientName) : null; }
public IPLookupModel(ForumDbContext context, ForumTreeService forumService, UserService userService, IAppCache cache, CommonUtils utils, LanguageProvider languageProvider) : base(context, forumService, userService, cache, utils, languageProvider) { }
public ConfirmModel(ForumDbContext context, ForumTreeService forumService, UserService userService, IAppCache cache, CommonUtils utils, IConfiguration config, LanguageProvider languageProvider) : base(context, forumService, userService, cache, utils, languageProvider) { _config = config; }
public PrivateMessagesModel(ForumDbContext context, ForumTreeService forumService, UserService userService, IAppCache cache, BBCodeRenderingService renderingService, CommonUtils utils, LanguageProvider languageProvider) : base(context, forumService, userService, cache, utils, languageProvider) { _renderingService = renderingService; }