Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UserNotificationsSubscriber"/> class.
 /// </summary>
 /// <param name="notificationService">The notification service.</param>
 /// <param name="seoService">The SEO service.</param>
 public UserNotificationsSubscriber(
     INotificationService notificationService,
     ISeoService seoService)
 {
     this.notificationService = notificationService;
     this.seoService          = seoService;
 }
Example #2
0
 public CommerceController(ISeoService seoService, ICurrencyService currencyService, IPackageTypesService packageTypesService, ISeoDuplicatesDetector seoDuplicateDetector)
 {
     _seoService           = seoService;
     _currencyService      = currencyService;
     _packageTypesService  = packageTypesService;
     _seoDuplicateDetector = seoDuplicateDetector;
 }
Example #3
0
 public HomeController(ILogger <HomeController> logger,
                       IHomeControllerService homeConstollerService,
                       ISeoService seoService)
 {
     _logger = logger;
     _homeConstollerService = homeConstollerService;
     _seoService            = seoService;
 }
Example #4
0
 protected MemberServiceBase(Func <IMemberRepository> repositoryFactory, IEventPublisher eventPublisher, IDynamicPropertyService dynamicPropertyService, ISeoService seoService, IPlatformMemoryCache platformMemoryCache)
 {
     RepositoryFactory      = repositoryFactory;
     EventPublisher         = eventPublisher;
     DynamicPropertyService = dynamicPropertyService;
     SeoService             = seoService;
     PlatformMemoryCache    = platformMemoryCache;
 }
Example #5
0
 public SeoPartHandler(ISeoService seoService)
 {
     OnIndexing <SeoPart>((context, seoPart) => context.DocumentIndex
                          .Add("seo-description", seoService.GetDescription(seoPart)).Analyze()
                          .Add("seo-keywords", seoService.GetKeywords(seoPart)).Analyze()
                          .Store()
                          );
 }
Example #6
0
        public ContentResult GenerateAlias(string source)
        {
            ISeoService service = this.serviceFactory.SeoService;

            return(new ContentResult {
                Content = service.CreateAlias(source)
            });
        }
Example #7
0
        public SeoPartDriver(
            ISeoService seoService,
            IAuthorizer authorizer)
        {
            _seoService = seoService;
            _authorizer = authorizer;

            T = NullLocalizer.Instance;
        }
Example #8
0
 public ArticleController(ISeoService seoService, IArticleService articleService, ICategoryService categoryService, ITagService tagService, ICloudService cloudService, ITaxonomyService taxonomyService, UserManager <User> userManager)
 {
     _articleService  = articleService;
     _categoryService = categoryService;
     _tagService      = tagService;
     _cloudService    = cloudService;
     _taxonomyService = taxonomyService;
     _userManager     = userManager;
     _seoService      = seoService;
 }
Example #9
0
 public CmsController(IElementServiceFactory elementServiceFactory, IHttpContextAccessor httpContextAccessor, IPageService pageService, IPageViewService pageViewService, ISeoService seoService, ITagService tagService, IUserService userService)
 {
     _elementServiceFactory = elementServiceFactory;
     _httpContextAccessor   = httpContextAccessor;
     _pageService           = pageService;
     _pageViewService       = pageViewService;
     _seoService            = seoService;
     _tagService            = tagService;
     _userService           = userService;
 }
Example #10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PasswordRecoveryController"/> class.
 /// </summary>
 /// <param name="messageExceptionFinder">The message exception finder.</param>
 /// <param name="userService">The user service.</param>
 /// <param name="notificationService">The notification service.</param>
 /// <param name="seoService">The SEO service.</param>
 public PasswordRecoveryController(
     IMessageExceptionFinder messageExceptionFinder,
     IUserService userService,
     INotificationService notificationService,
     ISeoService seoService) : base(messageExceptionFinder)
 {
     this.userService         = userService;
     this.notificationService = notificationService;
     this.seoService          = seoService;
 }
Example #11
0
 public AdminController(
     IOrchardServices orchardServices,
     ISearchService searchService,
     IPrefixedEditorManager prefixedEditorManager,
     ISeoSettingsManager seoSettingsManager,
     ISeoService seoService)
     : base(orchardServices, prefixedEditorManager, seoSettingsManager, seoService)
 {
     _searchService = searchService;
 }
Example #12
0
 public AdminController(IControllerActionService controllerActionService, IHtmlService htmlService,
                        ICommentService commentService, ISeoService seoService, IMonthlySubscriptionService monthlySubscriptionService, IFreeTipsService freeTipsService, IVipTicketService vipTicketService)
 {
     _controllerActionService = controllerActionService;
     _htmlService             = htmlService;
     _commentService          = commentService;
     _seoService = seoService;
     _monthlySubscriptionService = monthlySubscriptionService;
     _freeTipsService            = freeTipsService;
     _vipTicketService           = vipTicketService;
 }
Example #13
0
 public CategoryService(Func <ICatalogRepository> catalogRepositoryFactory, ISeoService seoService, IOutlineService outlineService, ICatalogService catalogService, IPlatformMemoryCache memoryCache,
                        AbstractValidator <IHasProperties> hasPropertyValidator, IEventPublisher eventPublisher, IBlobUrlResolver blobUrlResolver)
 {
     _repositoryFactory    = catalogRepositoryFactory;
     _memoryCache          = memoryCache;
     _hasPropertyValidator = hasPropertyValidator;
     _seoService           = seoService;
     _outlineService       = outlineService;
     _catalogService       = catalogService;
     _eventPublisher       = eventPublisher;
     _blobUrlResolver      = blobUrlResolver;
 }
Example #14
0
 public CoreExportImport(ICurrencyService currencyService, IPackageTypesService packageTypesService, ISeoService seoService)
 {
     _currencyService     = currencyService;
     _packageTypesService = packageTypesService;
     _seoService          = seoService;
     _serializer          = new JsonSerializer
     {
         ReferenceLoopHandling = ReferenceLoopHandling.Ignore,
         Formatting            = Formatting.Indented,
         NullValueHandling     = NullValueHandling.Ignore
     };
 }
Example #15
0
 public SeoFilter(
     IResourceManager resourceManager,
     IOrchardServices orchardServices,
     ISeoService seoService,
     ICurrentContentAccessor currentContentAccessor
     )
 {
     _resourceManager        = resourceManager;
     _orchardServices        = orchardServices;
     _seoService             = seoService;
     _currentContentAccessor = currentContentAccessor;
 }
Example #16
0
 public ItemService(Func <ICatalogRepository> catalogRepositoryFactory, ISeoService seoService, IOutlineService outlineService, ICatalogService catalogService,
                    ICategoryService categoryService, AbstractValidator <IHasProperties> hasPropertyValidator, IEventPublisher eventPublisher, IBlobUrlResolver blobUrlResolver, ISkuGenerator skuGenerator)
 {
     _catalogService       = catalogService;
     _categoryService      = categoryService;
     _seoService           = seoService;
     _outlineService       = outlineService;
     _repositoryFactory    = catalogRepositoryFactory;
     _hasPropertyValidator = hasPropertyValidator;
     _eventPublisher       = eventPublisher;
     _blobUrlResolver      = blobUrlResolver;
     _skuGenerator         = skuGenerator;
 }
Example #17
0
 public StoreService(Func <IStoreRepository> repositoryFactory, ISeoService seoService, ISettingsManager settingManager,
                     IDynamicPropertyService dynamicPropertyService, IShippingMethodsRegistrar shippingService, IPaymentMethodsRegistrar paymentService,
                     IEventPublisher eventPublisher, IPlatformMemoryCache platformMemoryCache)
 {
     RepositoryFactory       = repositoryFactory;
     SeoService              = seoService;
     SettingManager          = settingManager;
     DynamicPropertyService  = dynamicPropertyService;
     ShippingMethodRegistrar = shippingService;
     PaymentMethodRegistrar  = paymentService;
     EventPublisher          = eventPublisher;
     PlatformMemoryCache     = platformMemoryCache;
 }
 public StoreService(Func <IStoreRepository> repositoryFactory, ISeoService seoService, ISettingsManager settingManager,
                     IDynamicPropertyService dynamicPropertyService, IShippingMethodsRegistrar shippingService, IPaymentMethodsRegistrar paymentService,
                     ITaxProviderRegistrar taxService, IEventPublisher eventPublisher
                     , IPlatformMemoryCache platformMemoryCache)
 {
     _repositoryFactory       = repositoryFactory;
     _seoService              = seoService;
     _settingManager          = settingManager;
     _dynamicPropertyService  = dynamicPropertyService;
     _shippingMethodRegistrar = shippingService;
     _paymentMethodRegistrar  = paymentService;
     _taxProviderRegistrar    = taxService;
     _eventPublisher          = eventPublisher;
     _platformMemoryCache     = platformMemoryCache;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CommentNotifications"/> class.
 /// </summary>
 /// <param name="reportService">The report service.</param>
 /// <param name="commentService">The comment service.</param>
 /// <param name="seoService">The SEO service.</param>
 /// <param name="notificationService">The notification service.</param>
 /// <param name="workContext">The work context.</param>
 /// <param name="commentRepository">The comment repository.</param>
 public CommentNotifications(
     IReportService reportService,
     ICommentService commentService,
     ISeoService seoService,
     INotificationService notificationService,
     IWorkContext workContext,
     IRepository <Comment> commentRepository)
 {
     this.reportService       = reportService;
     this.commentService      = commentService;
     this.seoService          = seoService;
     this.notificationService = notificationService;
     this.workContext         = workContext;
     this.commentRepository   = commentRepository;
 }
Example #20
0
        protected AdminControllerBase(
            IOrchardServices orchardServices,
            IPrefixedEditorManager prefixedEditorManager,
            ISeoSettingsManager seoSettingsManager,
            ISeoService seoService)
        {
            _orchardServices    = orchardServices;
            _authorizer         = orchardServices.Authorizer;
            _contentManager     = orchardServices.ContentManager;
            _shapeFactory       = orchardServices.New;
            _workContext        = orchardServices.WorkContext;
            _transactionManager = orchardServices.TransactionManager;

            _prefixedEditorManager = prefixedEditorManager;
            _seoSettingsManager    = seoSettingsManager;
            _seoService            = seoService;

            T = NullLocalizer.Instance;
        }
Example #21
0
        public AdminController(
            IOrchardServices orchardServices,
            ISearchService searchService,
            ISiteService siteService,
            IPrefixedEditorManager prefixedEditorManager,
            ISeoSettingsManager seoSettingsManager,
            ISeoService seoService)
        {
            _orchardServices = orchardServices;
            _authorizer      = orchardServices.Authorizer;
            _contentManager  = orchardServices.ContentManager;
            _shapeFactory    = _orchardServices.New;
            _searchService   = searchService;

            _prefixedEditorManager = prefixedEditorManager;
            _siteService           = siteService;
            _seoSettingsManager    = seoSettingsManager;
            _seoService            = seoService;

            T = NullLocalizer.Instance;
        }
Example #22
0
 public MemberChangedEventHandler(IDynamicPropertyService dynamicPropertyService, ISeoService seoService)
 {
     _dynamicPropertyService = dynamicPropertyService;
     _seoService             = seoService;
 }
        public AdminMenu(ISeoService seoService)
        {
            _seoService = seoService;

            T = NullLocalizer.Instance;
        }
 public ProductChangedEventHandler(ISeoService seoService)
 {
     _seoService = seoService;
 }
        public AdminMenu(ISeoService seoService)
        {
            _seoService = seoService;

            T = NullLocalizer.Instance;
        }
Example #26
0
 public ControllerActionService(ISeoService seoService, IHtmlService htmlService)
 {
     _seoService  = seoService;
     _htmlService = htmlService;
 }
 public SeoController(ISeoRepository seoRepository, ISeoService seoService)
 {
     this._seoRepository = seoRepository;
     this._seoService    = seoService;
 }
Example #28
0
 public SEOController(ISeoService seoService, ILogger <SEOController> logger)
 {
     _seoService = seoService;
     _logger     = logger;
 }
Example #29
0
 public CommerceMembersServiceImpl(Func <ICustomerRepository> repositoryFactory, IEventPublisher eventPublisher
                                   , IDynamicPropertyService dynamicPropertyService, ISeoService seoService, IPlatformMemoryCache platformMemoryCache, IUserSearchService userSearchService)
     : base(repositoryFactory, eventPublisher, dynamicPropertyService, seoService, platformMemoryCache)
 {
     UserSearchService = userSearchService;
 }
Example #30
0
 public PageController(IPageService pageService, ISeoService seoService)
 {
     _pageService = pageService;
     _seoService  = seoService;
 }
 public MetadataController(IUserService userService, IAuthentication authentication, ISeoService seoService)
 {
     _userService = userService;
     _authentication = authentication;
     _seoService = seoService;
 }
Example #32
0
 public CategoryChangedEventHandler(ISeoService seoService)
 {
     _seoService = seoService;
 }