public PostPartHandler(IRepository<PostPartRecord> repository, IPostService postService, IThreadService threadService, IForumService forumService) { _postService = postService; _threadService = threadService; _forumService = forumService; Filters.Add(StorageFilter.For(repository)); OnGetDisplayShape<PostPart>(SetModelProperties); OnGetEditorShape<PostPart>(SetModelProperties); OnUpdateEditorShape<PostPart>(SetModelProperties); OnCreated<PostPart>((context, part) => UpdatePostCount(part)); OnPublished<PostPart>((context, part) => UpdatePostCount(part)); OnUnpublished<PostPart>((context, part) => UpdatePostCount(part)); OnVersioned<PostPart>((context, part, newVersionPart) => UpdatePostCount(newVersionPart)); OnRemoved<PostPart>((context, part) => UpdatePostCount(part)); OnRemoved<ThreadPart>((context, b) => _postService .Get(context.ContentItem.As<ThreadPart>()) .ToList() .ForEach(post => context.ContentManager.Remove(post.ContentItem))); }
protected internal ModeratorController(ITopicService topicService, IForumService forumService, IPostService postService, IModerationLogService moderationLogService) { _topicService = topicService; _forumService = forumService; _postService = postService; _moderationLogService = moderationLogService; }
public ThreadPartHandler(IRepository<ThreadPartRecord> repository, IPostService postService, IThreadService threadService, IForumService forumService, IContentManager contentManager) { _postService = postService; _threadService = threadService; _forumService = forumService; _contentManager = contentManager; Filters.Add(StorageFilter.For(repository)); OnGetDisplayShape<ThreadPart>(SetModelProperties); OnGetEditorShape<ThreadPart>(SetModelProperties); OnUpdateEditorShape<ThreadPart>(SetModelProperties); OnActivated<ThreadPart>(PropertySetHandlers); OnLoading<ThreadPart>((context, part) => LazyLoadHandlers(part)); OnCreated<ThreadPart>((context, part) => UpdateForumPartCounters(part)); OnPublished<ThreadPart>((context, part) => UpdateForumPartCounters(part)); OnUnpublished<ThreadPart>((context, part) => UpdateForumPartCounters(part)); OnVersioning<ThreadPart>((context, part, newVersionPart) => LazyLoadHandlers(newVersionPart)); OnVersioned<ThreadPart>((context, part, newVersionPart) => UpdateForumPartCounters(newVersionPart)); OnRemoved<ThreadPart>((context, part) => UpdateForumPartCounters(part)); OnRemoved<ForumPart>((context, b) => _threadService .Get(context.ContentItem.As<ForumPart>()) .ToList() .ForEach(thread => context.ContentManager.Remove(thread.ContentItem))); }
protected internal FavoritesController(IFavoriteTopicService favoriteTopicService, IForumService forumService, ILastReadService lastReadService, ITopicService topicService) { _favoriteTopicService = favoriteTopicService; _forumService = forumService; _lastReadService = lastReadService; _topicService = topicService; }
public SubscriptionController( IOrchardServices orchardServices, IForumService forumService, IThreadService threadService, IPostService postService, ISiteService siteService, IShapeFactory shapeFactory, IAuthorizationService authorizationService, IAuthenticationService authenticationService, ISubscriptionService subscriptionService, IThreadLastReadService threadLastReadService ) { _orchardServices = orchardServices; _forumService = forumService; _threadService = threadService; _postService = postService; _siteService = siteService; _subscriptionService = subscriptionService; _authorizationService = authorizationService; _authenticationService = authenticationService; _threadLastReadService = threadLastReadService; T = NullLocalizer.Instance; Shape = shapeFactory; }
public ReportPostAdminController( IOrchardServices orchardServices, IForumService forumService, IThreadService threadService, IPostService postService, ISiteService siteService, IShapeFactory shapeFactory, IAuthorizationService authorizationService, IAuthenticationService authenticationService, ISubscriptionService subscriptionService, IReportPostService reportPostService, ICountersService countersService ) { _orchardServices = orchardServices; _forumService = forumService; _threadService = threadService; _postService = postService; _siteService = siteService; _subscriptionService = subscriptionService; _authorizationService = authorizationService; _authenticationService = authenticationService; _reportPostService = reportPostService; _countersService = countersService; T = NullLocalizer.Instance; Shape = shapeFactory; }
private void GetPostService(UnitOfWork uow, out ICategoryService categoryService, out IForumService forumService, out ITopicService topicService, out IPostService postService) { ICategoryRepository cateRepo = new CategoryRepository(uow); IForumRepository forumRepo = new ForumRepository(uow); ITopicRepository topicRepo = new TopicRepository(uow); IPostRepository postRepo = new PostRepository(uow); IForumConfigurationRepository configRepo = new ForumConfigurationRepository(uow); IState request = new DummyRequest(); ILogger logger = new ConsoleLogger(); IUserRepository userRepo = new UserRepository(uow); User user = userRepo.Create(new User { Name = "D. Ummy", ProviderId = "12345678", FullName = "Mr. Doh Ummy", EmailAddress = "[email protected]", Culture = "th-TH", TimeZone = "GMT Standard Time" }); List<IEventSubscriber> subscribers = new List<IEventSubscriber>(); IEventPublisher eventPublisher = new EventPublisher(subscribers, logger, request); IUserProvider userProvider = new DummyUserProvider(user); IPermissionService permService = new PermissionService(); IForumConfigurationService confService = new ForumConfigurationService(configRepo); categoryService = new CategoryService(userProvider, cateRepo, eventPublisher, logger, permService); forumService = new ForumService(userProvider, cateRepo, forumRepo, topicRepo, postRepo, eventPublisher, logger, permService); topicService = new TopicService(userProvider, forumRepo, topicRepo, postRepo, eventPublisher, logger, permService, confService); postService = new PostService(userProvider, forumRepo, topicRepo, postRepo, eventPublisher, logger, permService, confService); }
public PostPartHandler(IRepository<PostPartRecord> repository, IPostService postService, IThreadService threadService, IForumService forumService) { _postService = postService; _threadService = threadService; _forumService = forumService; T = NullLocalizer.Instance; Filters.Add(StorageFilter.For(repository)); OnGetDisplayShape<PostPart>(SetModelProperties); OnGetEditorShape<PostPart>(SetModelProperties); OnUpdateEditorShape<PostPart>(SetModelProperties); OnCreated<PostPart>((context, part) => UpdatePostCount(part)); OnPublished<PostPart>((context, part) => UpdatePostCount(part)); OnUnpublished<PostPart>((context, part) => UpdatePostCount(part)); OnVersioned<PostPart>((context, part, newVersionPart) => UpdatePostCount(newVersionPart)); OnRemoved<PostPart>((context, part) => UpdatePostCount(part)); OnRemoved<ThreadPart>((context, b) => _postService .Get(context.ContentItem.As<ThreadPart>()) .ToList() .ForEach(post => context.ContentManager.Remove(post.ContentItem))); OnIndexing<PostPart>((context, postPart) => context.DocumentIndex .Add("body", postPart.Record.Text).RemoveTags().Analyze() .Add("format", postPart.Record.Format).Store()); }
public PostPartHandler(IRepository<PostPartRecord> repository, IPostService postService, IThreadService threadService, IForumService forumService, IClock clock) { _postService = postService; _threadService = threadService; _forumService = forumService; _clock = clock; Filters.Add(StorageFilter.For(repository)); OnGetDisplayShape<PostPart>(SetModelProperties); OnGetEditorShape<PostPart>(SetModelProperties); OnUpdateEditorShape<PostPart>(SetModelProperties); OnCreated<PostPart>((context, part) => UpdateCounters(part)); OnPublished<PostPart>((context, part) => { UpdateCounters(part); UpdateThreadVersioningDates(part); }); OnUnpublished<PostPart>((context, part) => UpdateCounters(part)); OnVersioned<PostPart>((context, part, newVersionPart) => UpdateCounters(newVersionPart)); OnRemoved<PostPart>((context, part) => UpdateCounters(part)); OnRemoved<ThreadPart>((context, b) => _postService.Delete(context.ContentItem.As<ThreadPart>())); OnIndexing<PostPart>((context, postPart) => context.DocumentIndex .Add("body", postPart.Record.Text).RemoveTags().Analyze() .Add("format", postPart.Record.Format).Store()); }
public TopicSaveController() { boardService = new ForumBoardService(); topicService = new ForumTopicService(); categoryService = new ForumCategoryService(); logService = new ForumLogService(); forumService = new ForumService(); }
public Communicator() { BasicHttpBinding bb = new BasicHttpBinding(); bb.MaxReceivedMessageSize = 1048576; // 1 MB httpFactory = new ChannelFactory<IForumService>(new BasicHttpBinding(), new EndpointAddress(HOST + ":" + PORT)); httpProxy = httpFactory.CreateChannel(); }
public ForumsHomePageService( IContentManager contentManager, IForumService forumService ) { _contentManager = contentManager; _forumService = forumService; }
protected internal SubscriptionController(ISubscribedTopicsService subService, ITopicService topicService, IUserService userService, ILastReadService lastReadService, IForumService forumService) { _subService = subService; _topicService = topicService; _userService = userService; _lastReadService = lastReadService; _forumService = forumService; }
public ForumController(ICategoryService categoryService, IForumService forumService, IUserProvider userProvider, IPermissionService permissionService) : base(userProvider, permissionService) { this.categoryService = categoryService; this.forumService = forumService; }
public ForumController(IForumService forumService, IDateTimeHelper dateTimeHelper, ILocalizationService localizationService, IPermissionService permissionService) { this._forumService = forumService; this._dateTimeHelper = dateTimeHelper; this._localizationService = localizationService; this._permissionService = permissionService; }
public AdminMenu( IForumsHomePageService forumForumsHomePageService, IForumCategoryService forumCategoryService, IForumService forumService ) { _forumForumsHomePageService = forumForumsHomePageService; _forumCategoryService = forumCategoryService; _forumService = forumService; }
public PrivateMessagesController(IForumService forumService, ICustomerService customerService, IWorkContext workContext, ForumSettings forumSettings, CustomerSettings customerSettings) { this._forumService = forumService; this._customerService = customerService; this._workContext = workContext; this._forumSettings = forumSettings; this._customerSettings = customerSettings; }
/// <summary> /// Get first post /// </summary> /// <param name="forumTopic">Forum topic</param> /// <param name="forumService">Forum service</param> /// <returns>Forum post</returns> public static ForumPost GetFirstPost(this ForumTopic forumTopic, IForumService forumService) { if (forumTopic == null) throw new ArgumentNullException("forumTopic"); var forumPosts = forumService.GetAllPosts(forumTopic.Id, 0, string.Empty, 0, 1); if (forumPosts.Count > 0) return forumPosts[0]; return null; }
public Communicator() { BasicHttpBinding bb = new BasicHttpBinding(); bb.MaxReceivedMessageSize = 1048576; // 1 MB // httpFactory = new ChannelFactory<IForumService>(new BasicHttpBinding(), new EndpointAddress("http://192.168.1.117:8888/methods")); httpFactory = new ChannelFactory<IForumService>(bb, new EndpointAddress("http://localhost:8888/methods")); httpProxy = httpFactory.CreateChannel(); // httpFactory = new ChannelFactory<IForumService>(new BasicHttpBinding(), new EndpointAddress("http://192.168.1.117:8888/methods")); httpFactory = new ChannelFactory<IForumService>(bb, new EndpointAddress("http://localhost:8888/methods")); httpProxy = httpFactory.CreateChannel(); }
public CountersService( IForumService forumService, IThreadService threadService, IPostService postService, IContentManager contentManager ) { _forumService = forumService; _threadService = threadService; _postService = postService; _contentManager = contentManager; }
public ForumCategoryService( IContentManager contentManager, IForumService forumService, IForumsHomePageService forumsHomePageService // IRepository<ForumCategoryToForumMappingRecord> categoryToForumMappingRepository ) { //_categoryToForumMappingRepository = categoryToForumMappingRepository; _contentManager = contentManager; _forumService = forumService; _forumsHomePageService = forumsHomePageService; }
protected internal ForumController(ISettingsManager settingsManager, IForumService forumService, ITopicService topicService, IPostService postService, ITopicViewCountService topicViewCountService, ISubscribedTopicsService subService, ILastReadService lastReadService, IFavoriteTopicService favoriteTopicService, IProfileService profileService, IMobileDetectionWrapper mobileDetectionWrapper) { _settingsManager = settingsManager; _forumService = forumService; _topicService = topicService; _postService = postService; _topicViewCountService = topicViewCountService; _subService = subService; _lastReadService = lastReadService; _favoriteTopicService = favoriteTopicService; _profileService = profileService; _mobileDetectionWrapper = mobileDetectionWrapper; }
public PostService(IPostRepository postRepository, IProfileRepository profileRepository, ISettingsManager settingsManager, ITopicService topicService, ITextParsingService textParsingService, IModerationLogService moderationLogService, IForumService forumService, IEventPublisher eventPublisher, IUserService userService, IFeedService feedService) { _postRepository = postRepository; _profileRepository = profileRepository; _settingsManager = settingsManager; _topicService = topicService; _textParsingService = textParsingService; _moderationLogService = moderationLogService; _forumService = forumService; _eventPublisher = eventPublisher; _userService = userService; _feedService = feedService; }
public CommonController( ITopicService topicService, ILanguageService languageService, ICurrencyService currencyService, IThemeContext themeContext, IThemeRegistry themeRegistry, IForumService forumService, IGenericAttributeService genericAttributeService, IMobileDeviceHelper mobileDeviceHelper, CustomerSettings customerSettings, TaxSettings taxSettings, CatalogSettings catalogSettings, EmailAccountSettings emailAccountSettings, CommonSettings commonSettings, BlogSettings blogSettings, ForumSettings forumSettings, LocalizationSettings localizationSettings, IOrderTotalCalculationService orderTotalCalculationService, IPriceFormatter priceFormatter, ThemeSettings themeSettings, IPageAssetsBuilder pageAssetsBuilder, Lazy<IPictureService> pictureService, ICommonServices services) { this._topicService = topicService; this._languageService = languageService; this._currencyService = currencyService; this._themeContext = themeContext; this._themeRegistry = themeRegistry; this._forumservice = forumService; this._genericAttributeService = genericAttributeService; this._mobileDeviceHelper = mobileDeviceHelper; this._customerSettings = customerSettings; this._taxSettings = taxSettings; this._catalogSettings = catalogSettings; this._commonSettings = commonSettings; this._blogSettings = blogSettings; this._forumSettings = forumSettings; this._localizationSettings = localizationSettings; this._orderTotalCalculationService = orderTotalCalculationService; this._priceFormatter = priceFormatter; this._themeSettings = themeSettings; this._pageAssetsBuilder = pageAssetsBuilder; this._pictureService = pictureService; this._services = services; T = NullLocalizer.Instance; }
public ForumController(IOrchardServices orchardServices, IForumService forumService, IThreadService threadService, ISiteService siteService, IShapeFactory shapeFactory) { _orchardServices = orchardServices; _forumService = forumService; _threadService = threadService; _siteService = siteService; Shape = shapeFactory; Logger = NullLogger.Instance; T = NullLocalizer.Instance; }
public PrivateMessagesController(IForumService forumService, ICustomerService customerService, ICustomerActivityService customerActivityService, ILocalizationService localizationService, IWorkContext workContext, IDateTimeHelper dateTimeHelper, ForumSettings forumSettings, CustomerSettings customerSettings) { this._forumService = forumService; this._customerService = customerService; this._customerActivityService = customerActivityService; this._localizationService = localizationService; this._workContext = workContext; this._dateTimeHelper = dateTimeHelper; this._forumSettings = forumSettings; this._customerSettings = customerSettings; }
public TopicService(IForumRepository forumRepository, ITopicRepository topicRepository, IPostRepository postRepository, IProfileRepository profileRepository, ITextParsingService textParsingService, ISettingsManager settingsManager, ISubscribedTopicsService subscribedTopicsService, IModerationLogService moderationLogService, IForumService forumService, IEventPublisher eventPublisher, IBroker broker, ISearchRepository searchRepository, IUserRepository userRepository) { _forumRepository = forumRepository; _topicRepository = topicRepository; _postRepository = postRepository; _profileRepository = profileRepository; _settingsManager = settingsManager; _textParsingService = textParsingService; _subscribedTopicService = subscribedTopicsService; _moderationLogService = moderationLogService; _forumService = forumService; _eventPublisher = eventPublisher; _broker = broker; _searchRepository = searchRepository; _userRepository = userRepository; }
public BackwardCompatibility1XController(IProductService productService, ICategoryService categoryService, IManufacturerService manufacturerService, IProductTagService productTagService, INewsService newsService, IBlogService blogService, ITopicService topicService, IForumService forumService, ICustomerService customerService) { this._productService = productService; this._categoryService = categoryService; this._manufacturerService = manufacturerService; this._productTagService = productTagService; this._newsService = newsService; this._blogService = blogService; this._topicService = topicService; this._forumService = forumService; this._customerService = customerService; }
public ForumController(IForumService forumService, ICommonServices services, IDateTimeHelper dateTimeHelper, IStoreMappingService storeMappingService, ILanguageService languageService, ILocalizedEntityService localizedEntityService, IUrlRecordService urlRecordService) { _forumService = forumService; _services = services; _dateTimeHelper = dateTimeHelper; _storeMappingService = storeMappingService; _languageService = languageService; _localizedEntityService = localizedEntityService; _urlRecordService = urlRecordService; }
public CommonController(ICategoryService categoryService, IProductService productService, IManufacturerService manufacturerService, ITopicService topicService, ILanguageService languageService, ICurrencyService currencyService, ILocalizationService localizationService, IWorkContext workContext, IQueuedEmailService queuedEmailService, IEmailAccountService emailAccountService, ISitemapGenerator sitemapGenerator, IThemeContext themeContext, IThemeProvider themeProvider, IForumService forumService, ICustomerService customerService, IWebHelper webHelper, IPermissionService permissionService, IMobileDeviceHelper mobileDeviceHelper, HttpContextBase httpContext, CustomerSettings customerSettings, TaxSettings taxSettings, CatalogSettings catalogSettings, StoreInformationSettings storeInformationSettings, EmailAccountSettings emailAccountSettings, CommonSettings commonSettings, BlogSettings blogSettings, ForumSettings forumSettings, LocalizationSettings localizationSettings, CaptchaSettings captchaSettings) { this._categoryService = categoryService; this._productService = productService; this._manufacturerService = manufacturerService; this._topicService = topicService; this._languageService = languageService; this._currencyService = currencyService; this._localizationService = localizationService; this._workContext = workContext; this._queuedEmailService = queuedEmailService; this._emailAccountService = emailAccountService; this._sitemapGenerator = sitemapGenerator; this._themeContext = themeContext; this._themeProvider = themeProvider; this._forumservice = forumService; this._customerService = customerService; this._webHelper = webHelper; this._permissionService = permissionService; this._mobileDeviceHelper = mobileDeviceHelper; this._httpContext = httpContext; this._customerSettings = customerSettings; this._taxSettings = taxSettings; this._catalogSettings = catalogSettings; this._storeInformationSettings = storeInformationSettings; this._emailAccountSettings = emailAccountSettings; this._commonSettings = commonSettings; this._blogSettings = blogSettings; this._forumSettings = forumSettings; this._localizationSettings = localizationSettings; this._captchaSettings = captchaSettings; }
public CommonController(ICategoryService categoryService, IProductService productService, IManufacturerService manufacturerService, ITopicService topicService, ILanguageService languageService, ICurrencyService currencyService, ILocalizationService localizationService, IWorkContext workContext, IStoreContext storeContext, IQueuedEmailService queuedEmailService, IEmailAccountService emailAccountService, ISitemapGenerator sitemapGenerator, IThemeContext themeContext, IThemeProvider themeProvider, IForumService forumService, IGenericAttributeService genericAttributeService, IWebHelper webHelper, IPermissionService permissionService, ICacheManager cacheManager, ICustomerActivityService customerActivityService, IVendorService vendorService, IPageHeadBuilder pageHeadBuilder, IPictureService pictureService, CustomerSettings customerSettings, TaxSettings taxSettings, CatalogSettings catalogSettings, StoreInformationSettings storeInformationSettings, EmailAccountSettings emailAccountSettings, CommonSettings commonSettings, BlogSettings blogSettings, NewsSettings newsSettings, ForumSettings forumSettings, LocalizationSettings localizationSettings, CaptchaSettings captchaSettings, VendorSettings vendorSettings) { this._categoryService = categoryService; this._productService = productService; this._manufacturerService = manufacturerService; this._topicService = topicService; this._languageService = languageService; this._currencyService = currencyService; this._localizationService = localizationService; this._workContext = workContext; this._storeContext = storeContext; this._queuedEmailService = queuedEmailService; this._emailAccountService = emailAccountService; this._sitemapGenerator = sitemapGenerator; this._themeContext = themeContext; this._themeProvider = themeProvider; this._forumservice = forumService; this._genericAttributeService = genericAttributeService; this._webHelper = webHelper; this._permissionService = permissionService; this._cacheManager = cacheManager; this._customerActivityService = customerActivityService; this._vendorService = vendorService; this._pageHeadBuilder = pageHeadBuilder; this._pictureService = pictureService; this._customerSettings = customerSettings; this._taxSettings = taxSettings; this._catalogSettings = catalogSettings; this._storeInformationSettings = storeInformationSettings; this._emailAccountSettings = emailAccountSettings; this._commonSettings = commonSettings; this._blogSettings = blogSettings; this._newsSettings = newsSettings; this._forumSettings = forumSettings; this._localizationSettings = localizationSettings; this._captchaSettings = captchaSettings; this._vendorSettings = vendorSettings; }
public ForumsController(IForumService forumService) { this._forumService = forumService; }
/// <summary> /// Get first post /// </summary> /// <param name="forumTopic">Forum topic</param> /// <param name="forumService">Forum service</param> /// <returns>Forum post</returns> public static async Task <ForumPost> GetFirstPost(this ForumTopic forumTopic, IForumService forumService) { if (forumTopic == null) { throw new ArgumentNullException("forumTopic"); } var forumPosts = await forumService.GetAllPosts(forumTopic.Id, "", string.Empty, 0, 1); if (forumPosts.Count > 0) { return(forumPosts[0]); } return(null); }
public ForumController(IForumService forumService, IPostService postService) { _forumService = forumService; _postService = postService; }
public LoginController( ICommonServices services, IAdCampaignService adCampaignService, IAuthenticationService authenticationService, IDateTimeHelper dateTimeHelper, DateTimeSettings dateTimeSettings, TaxSettings taxSettings, ILocalizationService localizationService, IWorkContext workContext, IStoreContext storeContext, ICustomerService customerService, IGenericAttributeService genericAttributeService, ICustomerRegistrationService customerRegistrationService, ITaxService taxService, RewardPointsSettings rewardPointsSettings, CustomerSettings customerSettings, AddressSettings addressSettings, ForumSettings forumSettings, OrderSettings orderSettings, IAddressService addressService, ICountryService countryService, IStateProvinceService stateProvinceService, IOrderTotalCalculationService orderTotalCalculationService, IOrderProcessingService orderProcessingService, IOrderService orderService, ICurrencyService currencyService, IPaymentService paymentService, IPriceFormatter priceFormatter, IPictureService pictureService, INewsLetterSubscriptionService newsLetterSubscriptionService, IForumService forumService, IShoppingCartService shoppingCartService, IOpenAuthenticationService openAuthenticationService, IBackInStockSubscriptionService backInStockSubscriptionService, IDownloadService downloadService, IWebHelper webHelper, ICustomerActivityService customerActivityService, ProductUrlHelper productUrlHelper, MediaSettings mediaSettings, LocalizationSettings localizationSettings, //CaptchaSettings captchaSettings, ExternalAuthenticationSettings externalAuthenticationSettings, PluginMediator pluginMediator, IPermissionService permissionService, IProductService productService) { _services = services; _authenticationService = authenticationService; _dateTimeHelper = dateTimeHelper; _dateTimeSettings = dateTimeSettings; _taxSettings = taxSettings; _localizationService = localizationService; _workContext = workContext; _storeContext = storeContext; _customerService = customerService; _genericAttributeService = genericAttributeService; _customerRegistrationService = customerRegistrationService; _taxService = taxService; _rewardPointsSettings = rewardPointsSettings; _customerSettings = customerSettings; _addressSettings = addressSettings; _forumSettings = forumSettings; _orderSettings = orderSettings; _addressService = addressService; _countryService = countryService; _stateProvinceService = stateProvinceService; _orderProcessingService = orderProcessingService; _orderTotalCalculationService = orderTotalCalculationService; _orderService = orderService; _currencyService = currencyService; _paymentService = paymentService; _priceFormatter = priceFormatter; _pictureService = pictureService; _newsLetterSubscriptionService = newsLetterSubscriptionService; _forumService = forumService; _shoppingCartService = shoppingCartService; _openAuthenticationService = openAuthenticationService; _backInStockSubscriptionService = backInStockSubscriptionService; _downloadService = downloadService; _webHelper = webHelper; _customerActivityService = customerActivityService; _productUrlHelper = productUrlHelper; _adCampaignService = adCampaignService; _mediaSettings = mediaSettings; _localizationSettings = localizationSettings; //_captchaSettings = captchaSettings; _externalAuthenticationSettings = externalAuthenticationSettings; _pluginMediator = pluginMediator; _permissionService = permissionService; _productService = productService; }
public HomeController(IPostService postService, IForumService forumService) { this.postService = postService; this.forumService = forumService; }
public CommonModelFactory(BlogSettings blogSettings, CaptchaSettings captchaSettings, CatalogSettings catalogSettings, CommonSettings commonSettings, CustomerSettings customerSettings, DisplayDefaultFooterItemSettings displayDefaultFooterItemSettings, ForumSettings forumSettings, IActionContextAccessor actionContextAccessor, IBlogService blogService, ICategoryService categoryService, ICurrencyService currencyService, ICustomerService customerService, IForumService forumService, IGenericAttributeService genericAttributeService, IHttpContextAccessor httpContextAccessor, ILanguageService languageService, ILocalizationService localizationService, IManufacturerService manufacturerService, INewsService newsService, INopFileProvider fileProvider, IPageHeadBuilder pageHeadBuilder, IPermissionService permissionService, IPictureService pictureService, IProductService productService, IProductTagService productTagService, IShoppingCartService shoppingCartService, ISitemapGenerator sitemapGenerator, IStaticCacheManager cacheManager, IStoreContext storeContext, IThemeContext themeContext, IThemeProvider themeProvider, ITopicService topicService, IUrlHelperFactory urlHelperFactory, IUrlRecordService urlRecordService, IWebHelper webHelper, IWorkContext workContext, LocalizationSettings localizationSettings, MediaSettings mediaSettings, NewsSettings newsSettings, SitemapSettings sitemapSettings, SitemapXmlSettings sitemapXmlSettings, StoreInformationSettings storeInformationSettings, VendorSettings vendorSettings) { _blogSettings = blogSettings; _captchaSettings = captchaSettings; _catalogSettings = catalogSettings; _commonSettings = commonSettings; _customerSettings = customerSettings; _displayDefaultFooterItemSettings = displayDefaultFooterItemSettings; _forumSettings = forumSettings; _actionContextAccessor = actionContextAccessor; _blogService = blogService; _categoryService = categoryService; _currencyService = currencyService; _customerService = customerService; _forumService = forumService; _genericAttributeService = genericAttributeService; _httpContextAccessor = httpContextAccessor; _languageService = languageService; _localizationService = localizationService; _manufacturerService = manufacturerService; _newsService = newsService; _fileProvider = fileProvider; _pageHeadBuilder = pageHeadBuilder; _permissionService = permissionService; _pictureService = pictureService; _productService = productService; _productTagService = productTagService; _shoppingCartService = shoppingCartService; _sitemapGenerator = sitemapGenerator; _cacheManager = cacheManager; _storeContext = storeContext; _themeContext = themeContext; _themeProvider = themeProvider; _topicService = topicService; _urlHelperFactory = urlHelperFactory; _urlRecordService = urlRecordService; _webHelper = webHelper; _workContext = workContext; _mediaSettings = mediaSettings; _localizationSettings = localizationSettings; _newsSettings = newsSettings; _sitemapSettings = sitemapSettings; _sitemapXmlSettings = sitemapXmlSettings; _storeInformationSettings = storeInformationSettings; _vendorSettings = vendorSettings; }
public PostController(IPaggingService paggingService, IAccountService accountService, IReplyService replyService, IQuoteService quoteService, IForumService forumService, IPostService postService) : base(accountService) { this.paggingService = paggingService; this.replyService = replyService; this.quoteService = quoteService; this.forumService = forumService; this.postService = postService; }
public ForumModelFactory(IDateTimeHelper dateTimeHelper, IForumService forumService) { this._dateTimeHelper = dateTimeHelper; this._forumService = forumService; }
public RecentHub(IForumService forumService, IUserService userService) { _forumService = forumService; _userService = userService; }
public AccountController() { _forumService = new ForumService(); }
public ForumController(IForumService service) { _forumService = service; }
public ForumLastPostViewComponent(IForumModelFactory forumModelFactory, IForumService forumService) { this._forumModelFactory = forumModelFactory; this._forumService = forumService; }
public CommonModelFactory(ICategoryService categoryService, IProductService productService, IManufacturerService manufacturerService, ITopicService topicService, ILanguageService languageService, ICurrencyService currencyService, ILocalizationService localizationService, IWorkContext workContext, IStoreContext storeContext, ISitemapGenerator sitemapGenerator, IThemeContext themeContext, IThemeProvider themeProvider, IForumService forumService, IGenericAttributeService genericAttributeService, IWebHelper webHelper, IPermissionService permissionService, IStaticCacheManager cacheManager, IPageHeadBuilder pageHeadBuilder, IPictureService pictureService, IHostingEnvironment hostingEnvironment, IUrlHelperFactory urlHelperFactory, IActionContextAccessor actionContextAccessor, CatalogSettings catalogSettings, StoreInformationSettings storeInformationSettings, CommonSettings commonSettings, BlogSettings blogSettings, NewsSettings newsSettings, ForumSettings forumSettings, LocalizationSettings localizationSettings, CaptchaSettings captchaSettings, VendorSettings vendorSettings, IProductTagService productTagService, DisplayDefaultFooterItemSettings displayDefaultFooterItemSettings) { this._categoryService = categoryService; this._productService = productService; this._manufacturerService = manufacturerService; this._topicService = topicService; this._languageService = languageService; this._currencyService = currencyService; this._localizationService = localizationService; this._workContext = workContext; this._storeContext = storeContext; this._sitemapGenerator = sitemapGenerator; this._themeContext = themeContext; this._themeProvider = themeProvider; this._forumservice = forumService; this._genericAttributeService = genericAttributeService; this._webHelper = webHelper; this._permissionService = permissionService; this._cacheManager = cacheManager; this._pageHeadBuilder = pageHeadBuilder; this._pictureService = pictureService; this._hostingEnvironment = hostingEnvironment; this._urlHelperFactory = urlHelperFactory; this._actionContextAccessor = actionContextAccessor; this._catalogSettings = catalogSettings; this._storeInformationSettings = storeInformationSettings; this._commonSettings = commonSettings; this._blogSettings = blogSettings; this._newsSettings = newsSettings; this._forumSettings = forumSettings; this._localizationSettings = localizationSettings; this._captchaSettings = captchaSettings; this._vendorSettings = vendorSettings; this._productTagService = productTagService; this._displayDefaultFooterItemSettings = displayDefaultFooterItemSettings; }
public SearchService(ISearchRepository searchRepository, ISettingsManager settingsManager, IForumService forumService, ISearchIndexQueueRepository searchIndexQueueRepository, IErrorLog errorLog) { _searchRepository = searchRepository; _settingsManager = settingsManager; _forumService = forumService; _searchIndexQueueRepository = searchIndexQueueRepository; _errorLog = errorLog; }
public TestableAccountController(IUserService userService, IProfileService profileService, INewAccountMailer newAccountMailer, ISettingsManager settingsManager, IPostService postService, ITopicService topicService, IForumService forumService, ILastReadService lastReadService, IClientSettingsMapper clientSettingsManager, IUserEmailer userEmailer, IImageService imageService, IFeedService feedService, IUserAwardService userAwardService, IOwinContext owinContext, IExternalAuthentication externalAuthentication, IUserAssociationManager userAssociationManager) : base(userService, profileService, newAccountMailer, settingsManager, postService, topicService, forumService, lastReadService, clientSettingsManager, userEmailer, imageService, feedService, userAwardService, owinContext, externalAuthentication, userAssociationManager) { }
public PostController(IPostService postService, IForumService forumService, UserManager <ApplicationUser> userManager) { this.postService = postService ?? throw new ArgumentNullException(nameof(postService)); this.forumService = forumService ?? throw new ArgumentNullException(nameof(forumService)); this.userManager = userManager ?? throw new ArgumentNullException(nameof(userManager)); }
public HomeController(IForumService forum) { this.forum = forum; }
public TopicService(ITopicRepository topicRepository, IPostRepository postRepository, ISettingsManager settingsManager, IModerationLogService moderationLogService, IForumService forumService, IEventPublisher eventPublisher, ISearchRepository searchRepository, IUserRepository userRepository, ISearchIndexQueueRepository searchIndexQueueRepository, ITenantService tenantService) { _topicRepository = topicRepository; _postRepository = postRepository; _settingsManager = settingsManager; _moderationLogService = moderationLogService; _forumService = forumService; _eventPublisher = eventPublisher; _searchRepository = searchRepository; _userRepository = userRepository; _searchIndexQueueRepository = searchIndexQueueRepository; _tenantService = tenantService; }
public UserStateManagementController( IUserStateManagementService userStateManagement, ICustomerService customerService, INewsLetterSubscriptionService newsLetterSubscriptionService, IGenericAttributeService genericAttributeService, ICustomerRegistrationService customerRegistrationService, ICustomerReportService customerReportService, IDateTimeHelper dateTimeHelper, ILocalizationService localizationService, DateTimeSettings dateTimeSettings, TaxSettings taxSettings, RewardPointsSettings rewardPointsSettings, ICountryService countryService, IStateProvinceService stateProvinceService, IAddressService addressService, CustomerSettings customerSettings, ITaxService taxService, IWorkContext workContext, IVendorService vendorService, IStoreContext storeContext, IPriceFormatter priceFormatter, IOrderService orderService, IExportManager exportManager, ICustomerActivityService customerActivityService, IPriceCalculationService priceCalculationService, IProductAttributeFormatter productAttributeFormatter, IPermissionService permissionService, IQueuedEmailService queuedEmailService, EmailAccountSettings emailAccountSettings, IEmailAccountService emailAccountService, ForumSettings forumSettings, IForumService forumService, IOpenAuthenticationService openAuthenticationService, AddressSettings addressSettings, IStoreService storeService, ICustomerAttributeParser customerAttributeParser, ICustomerAttributeService customerAttributeService, IAddressAttributeParser addressAttributeParser, IAddressAttributeService addressAttributeService, IAddressAttributeFormatter addressAttributeFormatter, IAffiliateService affiliateService, IWorkflowMessageService workflowMessageService) : base(customerService, newsLetterSubscriptionService, genericAttributeService, customerRegistrationService, customerReportService, dateTimeHelper, localizationService, dateTimeSettings, taxSettings, rewardPointsSettings, countryService, stateProvinceService, addressService, customerSettings, taxService, workContext, vendorService, storeContext, priceFormatter, orderService, exportManager, customerActivityService, priceCalculationService, productAttributeFormatter, permissionService, queuedEmailService, emailAccountSettings, emailAccountService, forumSettings, forumService, openAuthenticationService, addressSettings, storeService, customerAttributeParser, customerAttributeService, addressAttributeParser, addressAttributeService, addressAttributeFormatter, affiliateService, workflowMessageService) { this._customerService = customerService; this._newsLetterSubscriptionService = newsLetterSubscriptionService; this._genericAttributeService = genericAttributeService; this._customerRegistrationService = customerRegistrationService; this._customerReportService = customerReportService; this._dateTimeHelper = dateTimeHelper; this._localizationService = localizationService; this._dateTimeSettings = dateTimeSettings; this._taxSettings = taxSettings; this._rewardPointsSettings = rewardPointsSettings; this._countryService = countryService; this._stateProvinceService = stateProvinceService; this._addressService = addressService; this._customerSettings = customerSettings; this._taxService = taxService; this._workContext = workContext; this._vendorService = vendorService; this._storeContext = storeContext; this._priceFormatter = priceFormatter; this._orderService = orderService; this._exportManager = exportManager; this._customerActivityService = customerActivityService; this._priceCalculationService = priceCalculationService; this._productAttributeFormatter = productAttributeFormatter; this._permissionService = permissionService; this._queuedEmailService = queuedEmailService; this._emailAccountSettings = emailAccountSettings; this._emailAccountService = emailAccountService; this._forumSettings = forumSettings; this._forumService = forumService; this._openAuthenticationService = openAuthenticationService; this._addressSettings = addressSettings; this._storeService = storeService; this._customerAttributeParser = customerAttributeParser; this._customerAttributeService = customerAttributeService; this._addressAttributeParser = addressAttributeParser; this._addressAttributeService = addressAttributeService; this._addressAttributeFormatter = addressAttributeFormatter; this._affiliateService = affiliateService; this._workflowMessageService = workflowMessageService; this._userStateManagementService = userStateManagement; }
public ForumController(IForumService _forumService) { forumService = _forumService; }
public ForumsController(IForumDal forumDal, IForumService forumService) { _forumDal = forumDal; _forumService = forumService; }
public ForumController(ApplicationUserManager userManager, IProjectRepository projectRepository, IProjectService projectService, IExportDataService exportDataService, IForumService forumService, IForumRepository forumRepository, IClaimsRepository claimsRepository, IClaimService claimService) : base(userManager, projectRepository, projectService, exportDataService) { ForumService = forumService; ForumRepository = forumRepository; ClaimsRepository = claimsRepository; ClaimService = claimService; }
public SubscriptionController(ISubscribedTopicsService subService, ITopicService topicService, IUserService userService, ILastReadService lastReadService, IForumService forumService, IUserRetrievalShim userRetrievalShim) { _subService = subService; _topicService = topicService; _userService = userService; _lastReadService = lastReadService; _forumService = forumService; _userRetrievalShim = userRetrievalShim; }
public ForumFormService(IAuthenticationService authenticationService, IAuthorizationService authorizationService, IDataAnnotationsService dataAnnotationsService, IFormHelperService formHelperService, IForumService forumService, IForumUrlService forumUrlService, IPageService pageService) { _authenticationService = authenticationService; _authorizationService = authorizationService; _dataAnnotationsService = dataAnnotationsService; _formHelperService = formHelperService; _forumService = forumService; _forumUrlService = forumUrlService; _pageService = pageService; }
public CommonWebService(ICacheManager cacheManager, IStoreContext storeContext, IStoreService storeService, IThemeContext themeContext, IPictureService pictureService, IWebHelper webHelper, ILanguageService languageService, IWorkContext workContext, ICurrencyService currencyService, IPermissionService permissionService, IPageHeadBuilder pageHeadBuilder, ITopicService topicService, IWorkflowMessageService workflowMessageService, ILocalizationService localizationService, ICategoryService categoryService, IManufacturerService manufacturerService, IProductService productService, ISitemapGenerator sitemapGenerator, IThemeProvider themeProvider, IForumService forumservice, IHostingEnvironment hostingEnvironment, StoreInformationSettings storeInformationSettings, LocalizationSettings localizationSettings, TaxSettings taxSettings, CustomerSettings customerSettings, ForumSettings forumSettings, CatalogSettings catalogSettings, BlogSettings blogSettings, NewsSettings newsSettings, VendorSettings vendorSettings, CommonSettings commonSettings, CaptchaSettings captchaSettings ) { this._cacheManager = cacheManager; this._storeContext = storeContext; this._storeService = storeService; this._themeContext = themeContext; this._pictureService = pictureService; this._webHelper = webHelper; this._languageService = languageService; this._workContext = workContext; this._currencyService = currencyService; this._permissionService = permissionService; this._pageHeadBuilder = pageHeadBuilder; this._topicService = topicService; this._workflowMessageService = workflowMessageService; this._localizationService = localizationService; this._categoryService = categoryService; this._manufacturerService = manufacturerService; this._productService = productService; this._sitemapGenerator = sitemapGenerator; this._themeProvider = themeProvider; this._forumservice = forumservice; this._hostingEnvironment = hostingEnvironment; this._storeInformationSettings = storeInformationSettings; this._localizationSettings = localizationSettings; this._taxSettings = taxSettings; this._customerSettings = customerSettings; this._forumSettings = forumSettings; this._catalogSettings = catalogSettings; this._blogSettings = blogSettings; this._newsSettings = newsSettings; this._vendorSettings = vendorSettings; this._commonSettings = commonSettings; this._captchaSettings = captchaSettings; }
public PostsController(IPostService postService, IForumService forumService, UserManager <ApplicationUser> userManager) { _postService = postService; _forumService = forumService; _userManager = userManager; }