示例#1
0
 public ThreadService(IMapper mapper,
                      ApplicationDbContext context,
                      UserManager <ApplicationUser> userManager,
                      ICategoryToModeratorService categoryToModeratorService) : base(mapper, context, userManager)
 {
     _categoryToModeratorService = categoryToModeratorService;
 }
示例#2
0
 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;
 }
示例#3
0
 public BanService(IMapper mapper,
                   ApplicationDbContext context,
                   UserManager <ApplicationUser> userManager,
                   ICategoryToModeratorService categoryToModeratorService,
                   IIpAddressCalculator ipAddressCalculator) : base(mapper, context, userManager)
 {
     _categoryToModeratorService = categoryToModeratorService;
     _ipAddressCalculator        = ipAddressCalculator;
 }
示例#4
0
 public AdministrationController(IMapper mapper,
                                 IAdministrationService administrationService,
                                 IBoardService boardService,
                                 ICategoryToModeratorService categoryToModeratorService)
 {
     _mapper = mapper;
     _administrationService      = administrationService;
     _boardService               = boardService;
     _categoryToModeratorService = categoryToModeratorService;
 }
示例#5
0
 public PostsController(
     UserManager <ApplicationUser> userManager,
     IMapper mapper,
     ICategoryService categoryService,
     IThreadService threadService,
     IPostService postService,
     ICategoryToModeratorService categoryToModeratorService) : base(userManager)
 {
     _mapper                     = mapper;
     _categoryService            = categoryService;
     _threadService              = threadService;
     _postService                = postService;
     _categoryToModeratorService = categoryToModeratorService;
 }
示例#6
0
 public ThreadsController(
     UserManager <ApplicationUser> userManager,
     ILogger <ThreadsController> logger,
     IMapper mapper,
     ICategoryService categoryService,
     IThreadService threadService,
     ICategoryToModeratorService categoryToModeratorService) : base(userManager)
 {
     _logger                     = logger;
     _mapper                     = mapper;
     _categoryService            = categoryService;
     _threadService              = threadService;
     _categoryToModeratorService = categoryToModeratorService;
 }
 public AdministrationController(IMapper mapper,
                                 SignInManager <ApplicationUser> signInManager,
                                 IAdministrationService administrationService,
                                 IBoardService boardService,
                                 ICategoryToModeratorService categoryToModeratorService,
                                 ISystemInfoService systemInfoService)
 {
     _mapper                     = mapper;
     _signInManager              = signInManager;
     _administrationService      = administrationService;
     _boardService               = boardService;
     _categoryToModeratorService = categoryToModeratorService;
     _systemInfoService          = systemInfoService;
 }
示例#8
0
 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;
 }
示例#9
0
 public CategoriesController(
     UserManager <ApplicationUser> userManager,
     ILogger <CategoriesController> logger,
     IMapper mapper,
     IBoardService boardService,
     ICategoryService categoryService,
     IThreadService threadService,
     IPostService postService,
     ICategoryToModeratorService categoryToModeratorService,
     IApplicationUserService applicationUserService) : base(userManager)
 {
     _logger                     = logger;
     _mapper                     = mapper;
     _boardService               = boardService;
     _categoryService            = categoryService;
     _threadService              = threadService;
     _postService                = postService;
     _categoryToModeratorService = categoryToModeratorService;
     _applicationUserService     = applicationUserService;
 }