public DefaultPageService(IRepository repository, IRedirectService redirectService, IUrlService urlService) { this.repository = repository; this.redirectService = redirectService; this.urlService = urlService; temporaryPageCache = new Dictionary<string, IPage>(); }
public PagePropertiesService(IRepository repository, IUrlService urlService, IOptionService optionService, IMediaFileUrlResolver fileUrlResolver) { this.repository = repository; this.urlService = urlService; this.optionService = optionService; this.fileUrlResolver = fileUrlResolver; }
public PageService(IRepository repository, IPagePropertiesService pagePropertiesService, IPageExistsService pageExistsService, IPageContentsService pageContentsService, IPageContentService pageContentService, IUrlService urlService) { this.pageContentsService = pageContentsService; this.pageContentService = pageContentService; this.pagePropertiesService = pagePropertiesService; this.pageExistsService = pageExistsService; this.repository = repository; this.urlService = urlService; }
public static void SetupClient(IUrlService urlService, HttpClient client, IHttpFilter filter) { var baseFilter = filter as HttpBaseProtocolFilter; if (baseFilter == null) return; HttpCookieCollection cookies = baseFilter.CookieManager.GetCookies(urlService.GetFullUrl("/")); foreach (HttpCookie cookie in cookies) { client.DefaultRequestHeaders.Cookie.Add(new HttpCookiePairHeaderValue(cookie.Name, cookie.Value)); } }
public DefaultPageCloneService(IPageService pageService, IUrlService urlService, ISecurityService securityService, IAccessControlService accessControlService, IRepository repository, IUnitOfWork unitOfWork) { this.pageService = pageService; this.urlService = urlService; this.securityService = securityService; this.accessControlService = accessControlService; this.unitOfWork = unitOfWork; this.repository = repository; }
public PageService(IRepository repository, IPagePropertiesService pagePropertiesService, IPageExistsService pageExistsService, IPageContentsService pageContentsService, IPageContentService pageContentService, IUrlService urlService, IMediaFileUrlResolver fileUrlResolver) { this.pageContentsService = pageContentsService; this.pageContentService = pageContentService; this.pagePropertiesService = pagePropertiesService; this.pageExistsService = pageExistsService; this.repository = repository; this.urlService = urlService; this.fileUrlResolver = fileUrlResolver; }
public DefaultRedirectControl(IRedirectService redirectService, ICacheService cacheService, ICmsConfiguration cmsConfiguration, IUrlService urlService) { this.redirectService = redirectService; this.cacheService = cacheService; this.cmsConfiguration = cmsConfiguration; this.urlService = urlService; Events.PageEvents.Instance.RedirectCreated += InvalidateCache; Events.PageEvents.Instance.RedirectUpdated += InvalidateCache; Events.PageEvents.Instance.RedirectDeleted += InvalidateCache; }
public DefaultPageService(IRepository repository, IRedirectService redirectService, IUrlService urlService, ISecurityService securityService, IAccessControlService accessControlService, ICacheService cacheService) { this.repository = repository; this.redirectService = redirectService; this.urlService = urlService; this.securityService = securityService; this.accessControlService = accessControlService; this.cacheService = cacheService; temporaryPageCache = new Dictionary<string, IPage>(); }
public DefaultBlogMLService(IRepository repository, IUrlService urlService, IBlogService blogService, IUnitOfWork unitOfWork, IRedirectService redirectService, IPageService pageService, ICmsConfiguration cmsConfiguration, IHttpContextAccessor httpContextAccessor) { this.repository = repository; this.urlService = urlService; this.blogService = blogService; this.pageService = pageService; this.unitOfWork = unitOfWork; this.redirectService = redirectService; this.cmsConfiguration = cmsConfiguration; this.httpContextAccessor = httpContextAccessor; }
public DocumentLeafController( IDocumentRepository DocumentRepository, IDocumentService DocumentService, IUrlService UrlService ) { if ( DocumentRepository == null ) { throw new ArgumentNullException( "DocumentRepository" ); } if ( DocumentService == null ) { throw new ArgumentNullException( "DocumentService" ); } if ( UrlService == null ) { throw new ArgumentNullException( "UrlService" ); } this.documentRepository = DocumentRepository; this.documentService = DocumentService; this.urlService = UrlService; }
public PostedUrlProcessor(IApplicationResourceFactory applicationResourceFactory, ILoggerFactory loggerFactory, IAsynchronousBackoffPolicy backoffPolicy, IUrlService urlService, IUserTagService userTagService, IUrlStatisticsService urlStatisticsService) { string poisonQueueName = applicationResourceFactory.Setting(ComponentIdentities.UrlStore, "poison-queuename"); _backoffPolicy = backoffPolicy; _urlService = urlService; _userTagService = userTagService; _urlStatisticsService = urlStatisticsService; _queue = applicationResourceFactory.GetQueue<SavedUrlQueueItem>(ComponentIdentities.UrlStore); _poisonQueue = applicationResourceFactory.GetQueue<SavedUrlQueueItem>(poisonQueueName, ComponentIdentities.UrlStore); _logger = loggerFactory.CreateLongLivedLogger(ComponentIdentity); _savedUrlTable = applicationResourceFactory.GetNoSqlRepository<SavedUrl>(ComponentIdentities.UrlStore); }
public BlogController(ICategoryService _categoryService, IPostService _postService, IUrlService _urlService, IPostTagService _tagService, ISettingService _settingService, IMediaStorageService _mediaStorageService, ISocialNetworkService _socialNetworkService, ApplicationUserService _userService) { categoryService = _categoryService; postService = _postService; urlService = _urlService; tagService = _tagService; settingService = _settingService; mediaStorageService = _mediaStorageService; socialNetworkService = _socialNetworkService; userService = _userService; }
/// <summary> /// Initializes a new instance of the <see cref="DefaultBlogService" /> class. /// </summary> /// <param name="configuration">The configuration.</param> /// <param name="urlService">The URL service.</param> /// <param name="repository">The repository.</param> /// <param name="optionService">The option service.</param> /// <param name="accessControlService">The access control service.</param> /// <param name="securityService">The security service.</param> /// <param name="contentService">The content service.</param> /// <param name="tagService">The tag service.</param> /// <param name="pageService">The page service.</param> /// <param name="redirectService">The redirect service.</param> /// <param name="masterPageService">The master page service.</param> /// <param name="unitOfWork">The unit of work.</param> public DefaultBlogService(ICmsConfiguration configuration, IUrlService urlService, IRepository repository, IOptionService optionService, IAccessControlService accessControlService, ISecurityService securityService, IContentService contentService, ITagService tagService, IPageService pageService, IRedirectService redirectService, IMasterPageService masterPageService, IUnitOfWork unitOfWork) { this.configuration = configuration; this.urlService = urlService; this.repository = repository; this.optionService = optionService; this.accessControlService = accessControlService; this.securityService = securityService; this.contentService = contentService; this.pageService = pageService; this.redirectService = redirectService; this.masterPageService = masterPageService; this.tagService = tagService; this.unitOfWork = unitOfWork; }
public CustomPageController(IUserService userService, IPictureService pictureService, IUserContext userContext, ISliderService sliderService, ISettingService settingService, IProductService productService, IVideoService videoService, ICommentService commentService, IReplyService replyService, IBlogService blogService, IFileService fileService, ITemplateService templateService, ICustomPageService customPageService, IPermissionService permissionService, IUrlHelper urlHelper, IUrlService urlService) { this._userService = userService; this._pictureService = pictureService; this._userContext = userContext; this._sliderService = sliderService; this._settingService = settingService; this._productService = productService; this._videoService = videoService; this._commentService = commentService; this._replyService = replyService; this._blogService = blogService; this._fileService = fileService; this._templateService = templateService; this._customPageService = customPageService; this._permissionService = permissionService; this._urlHelper = urlHelper; this._urlService = urlService; }
public OpportunityService(IOpportunityRepository opportunityRepository, IContactService contactService, IUnitOfWork unitOfWork, ICachingService cachingService, IIndexingService indexingService, ITagRepository tagRepository, ISearchService <Opportunity> searchService, IUserRepository userRepository, IContactRepository contactRepository, IMessageService messageService, IImageService imageService, IUrlService urlService) { this.opportunityRepository = opportunityRepository; this.unitOfWork = unitOfWork; this.indexingService = indexingService; this.cachingService = cachingService; this.contactService = contactService; this.searchService = searchService; this.messageService = messageService; this.tagRepository = tagRepository; this.userRepository = userRepository; this.contactRepository = contactRepository; this.imageService = imageService; this.urlService = urlService; }
public DefaultPageService( IRepository repository, IRedirectService redirectService, IUrlService urlService, IAccessControlService accessControlService, ICmsConfiguration cmsConfiguration, ISitemapService sitemapService, IUnitOfWork unitOfWork) { this.repository = repository; this.redirectService = redirectService; this.urlService = urlService; this.accessControlService = accessControlService; this.cmsConfiguration = cmsConfiguration; this.unitOfWork = unitOfWork; this.sitemapService = sitemapService; temporaryPageCache = new Dictionary<string, IPage>(); }
public ProductController(IUserService userService, IPictureService pictureService, IUserContext userContext, ISliderService sliderService, ISettingService settingService, IProductService productService, IVideoService videoService, ICommentService commentService, IReplyService replyService, IBlogService blogService, IFileService fileService, IPermissionService permissionService, ITemplateService templateService, IEmailService emailService, IUrlService urlService, ISMSService smsService) { this._userService = userService; this._pictureService = pictureService; this._userContext = userContext; this._sliderService = sliderService; this._settingService = settingService; this._productService = productService; this._videoService = videoService; this._commentService = commentService; this._replyService = replyService; this._blogService = blogService; this._fileService = fileService; this._permissionService = permissionService; this._templateService = templateService; this._emailService = emailService; this._urlService = urlService; this._smsService = smsService; }
public BaseControllerWorkerServices( UserManager <ApplicationUser> userManager, SCRMContext dbContext, IDatabase database, IHttpContextAccessor httpContextAccessor, IHostingEnvironment hostingEnvironment, IUrlService urlService, IStorageService storageService, ILogger <BaseControllerWorkerServices> logger) { this.UserManager = userManager ?? throw new ArgumentNullException(nameof(userManager)); this.DbContext = dbContext ?? throw new ArgumentNullException(nameof(dbContext)); this.Database = database ?? throw new ArgumentNullException(nameof(database)); this.HttpContextAccessor = httpContextAccessor ?? throw new ArgumentNullException(nameof(httpContextAccessor)); this.HostingEnvironment = hostingEnvironment ?? throw new ArgumentNullException(nameof(hostingEnvironment)); this.UrlService = urlService ?? throw new ArgumentNullException(nameof(urlService)); this.StorageService = storageService ?? throw new ArgumentNullException(nameof(storageService)); this.Logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public DefaultPageService( IRepository repository, IRedirectService redirectService, IUrlService urlService, IAccessControlService accessControlService, ICmsConfiguration cmsConfiguration, ISitemapService sitemapService, IUnitOfWork unitOfWork) { this.repository = repository; this.redirectService = redirectService; this.urlService = urlService; this.accessControlService = accessControlService; this.cmsConfiguration = cmsConfiguration; this.unitOfWork = unitOfWork; this.sitemapService = sitemapService; temporaryPageCache = new Dictionary <string, IPage>(); }
public WebVisitEmailNotifierJob( IAccountService accountService, IUrlService urlService, IWebAnalyticsProviderService webAnalyticsService, IUserService userService, IDropdownValuesService dropdownService, IAccountRepository accountRepository, MailService mailService, JobServiceConfiguration jobConfig) { _accountService = accountService; _urlService = urlService; _webAnalyticsService = webAnalyticsService; _userService = userService; _dropdownService = dropdownService; _accountRepository = accountRepository; _mailService = mailService; _jobConfig = jobConfig; }
public UserController(ApplicationUserService _userService, ISettingService _settingService, IPostService _postService, IPortfolioService _portfolioService, IUrlService _urlService, ISocialNetworkService _socialNetworkService, IMediaStorageService _mediaStorageService, ICacheManager _cacheManager) { userService = _userService; settingService = _settingService; portfolioService = _portfolioService; postService = _postService; urlService = _urlService; socialNetworkService = _socialNetworkService; mediaStorageService = _mediaStorageService; cacheManager = _cacheManager; db = new DataContext(); }
public RoleController(ISettingService _settingService, IPostService _postService, IPortfolioService _portfolioService, ICategoryService _categoryService, IPortfolioCategoryService _portfolioCategoryService, IUrlService _urlService, ITeamMemberService _teamMemberService, IClietTestimonialsService _testimonialsService, ISocialNetworkService _socialNetworkService, IMediaStorageService _mediaStorageService, IPostTagService _postTagService, ICacheManager _cacheManager, IJobService _jobService, IJobCategoryService _jobCategoryService, ISubscriberService _subscriberService, IApplyJobService _applyJobService, IContactService _contactService) { db = new DataContext(); }
/// <summary> /// Initializes a new instance of the <see cref="DefaultBlogService" /> class. /// </summary> /// <param name="configuration">The configuration.</param> /// <param name="urlService">The URL service.</param> /// <param name="repository">The repository.</param> /// <param name="optionService">The option service.</param> /// <param name="accessControlService">The access control service.</param> /// <param name="securityService">The security service.</param> /// <param name="cmsConfiguration">The CMS configuration.</param> /// <param name="contentService">The content service.</param> /// <param name="tagService">The tag service.</param> /// <param name="pageService">The page service.</param> /// <param name="redirectService">The redirect service.</param> /// <param name="masterPageService">The master page service.</param> /// <param name="unitOfWork">The unit of work.</param> public DefaultBlogService(ICmsConfiguration configuration, IUrlService urlService, IRepository repository, IOptionService optionService, IAccessControlService accessControlService, ISecurityService securityService, ICmsConfiguration cmsConfiguration, IContentService contentService, ITagService tagService, IPageService pageService, IRedirectService redirectService, IMasterPageService masterPageService, IUnitOfWork unitOfWork) { this.configuration = configuration; this.urlService = urlService; this.repository = repository; this.optionService = optionService; this.accessControlService = accessControlService; this.securityService = securityService; this.cmsConfiguration = cmsConfiguration; this.contentService = contentService; this.pageService = pageService; this.redirectService = redirectService; this.masterPageService = masterPageService; this.tagService = tagService; this.unitOfWork = unitOfWork; }
public DashboardController(ApplicationUserService _userService, ISettingService _settingService, IUrlService _urlService, IJobService _jobService, IJobCategoryService _jobCategoryService, IApplyJobService _applyJobService, IPostService _postService, IMediaStorageService _mediaStorageService, IContactService _contactService) { userService = _userService; settingService = _settingService; urlService = _urlService; jobService = _jobService; jobCategoryService = _jobCategoryService; applyJobService = _applyJobService; contactService = _contactService; postService = _postService; mediaStorageService = _mediaStorageService; }
public LinkResolver( SmartDbContext db, IWorkContext workContext, IStoreContext storeContext, ICacheManager cache, ILocalizedEntityService localizedEntityService, IAclService aclService, IStoreMappingService storeMappingService, IUrlHelper urlHelper, IUrlService urlService) { _db = db; _workContext = workContext; _storeContext = storeContext; _cache = cache; _localizedEntityService = localizedEntityService; _aclService = aclService; _storeMappingService = storeMappingService; _urlHelper = urlHelper; _urlService = urlService; }
/// <summary> /// Initializes a new instance of the <see cref="PagePropertiesService" /> class. /// </summary> /// <param name="repository">The repository.</param> /// <param name="urlService">The URL service.</param> /// <param name="optionService">The option service.</param> /// <param name="fileUrlResolver">The file URL resolver.</param> /// <param name="masterPageService">The master page service.</param> /// <param name="tagService">The tag service.</param> /// <param name="accessControlService">The access control service.</param> /// <param name="unitOfWork">The unit of work.</param> /// <param name="pageService">The page service.</param> /// <param name="securityService">The security service.</param> public PagePropertiesService( IRepository repository, IUrlService urlService, IOptionService optionService, IMediaFileUrlResolver fileUrlResolver, IMasterPageService masterPageService, Module.Pages.Services.ITagService tagService, IAccessControlService accessControlService, IUnitOfWork unitOfWork, Module.Pages.Services.IPageService pageService, ISecurityService securityService) { this.repository = repository; this.urlService = urlService; this.optionService = optionService; this.fileUrlResolver = fileUrlResolver; this.masterPageService = masterPageService; this.tagService = tagService; this.accessControlService = accessControlService; this.unitOfWork = unitOfWork; this.securityService = securityService; this.pageService = pageService; }
/// <summary> /// Initializes a new instance of the <see cref="SavePagePropertiesCommand" /> class. /// </summary> /// <param name="pageService">The page service.</param> /// <param name="redirectService">The redirect service.</param> /// <param name="tagService">The tag service.</param> /// <param name="sitemapService">The sitemap service.</param> /// <param name="urlService">The URL service.</param> /// <param name="optionService">The option service.</param> /// <param name="cmsConfiguration">The CMS configuration.</param> /// <param name="accessControlService">The access control service.</param> /// <param name="contentService">The content service.</param> /// <param name="masterPageService">The master page service.</param> public SavePagePropertiesCommand( IPageService pageService, IRedirectService redirectService, ITagService tagService, ISitemapService sitemapService, IUrlService urlService, IOptionService optionService, ICmsConfiguration cmsConfiguration, IAccessControlService accessControlService, IContentService contentService, IMasterPageService masterPageService) { this.pageService = pageService; this.redirectService = redirectService; this.tagService = tagService; this.sitemapService = sitemapService; this.urlService = urlService; this.optionService = optionService; this.cmsConfiguration = cmsConfiguration; this.accessControlService = accessControlService; this.contentService = contentService; this.masterPageService = masterPageService; }
public BotServices(ILoggingService loggingService, IEventService eventService, ITickerService tickerService, IDefenceService defenceService, INewsService newsService, IKarmaService karmaService, IReplyService replyService, IStatsService statsService, IServerService serverService, IUrlService urlService, IJobService jobs) { Logging = loggingService; Events = eventService; Ticker = tickerService; Defence = defenceService; News = newsService; Karma = karmaService; AI = replyService; Stats = statsService; Server = serverService; Tools = urlService; Jobs = jobs; }
public PortfolioController(ISettingService _settingService, IPostService _postService, IPortfolioService _portfolioService, ICategoryService _categoryService, IPortfolioCategoryService _portfolioCategoryService, IUrlService _urlService, ITeamMemberService _teamMemberService, IClietTestimonialsService _testimonialsService, ISocialNetworkService _socialNetworkService, IMediaStorageService _mediaStorageService, IPostTagService _postTagService, ICacheManager _cacheManager, IJobService _jobService, IJobCategoryService _jobCategoryService, ISubscriberService _subscriberService, IApplyJobService _applyJobService, IContactService _contactService) { settingService = _settingService; portfolioService = _portfolioService; postService = _postService; categoryService = _categoryService; urlService = _urlService; teamMemberService = _teamMemberService; testimonialsService = _testimonialsService; socialNetworkService = _socialNetworkService; mediaStorageService = _mediaStorageService; postTagService = _postTagService; portfolioCategoryService = _portfolioCategoryService; cacheManager = _cacheManager; jobService = _jobService; jobCategoryService = _jobCategoryService; subscriberService = _subscriberService; applyJobService = _applyJobService; contactService = _contactService; }
public UsersController(UserManager <User> userManager, RoleManager <IdentityRole <int> > roleManager, IUrlService urlService) { _userManager = userManager; _roleManager = roleManager; _urlService = urlService; }
public MainViewModel(IUrlService urlService, INavigationService navigationService, ILocalStorageService localStorageService, StackOverflowService stackOverflowService) { _UrlService = urlService; _NavigationService = navigationService; _LocalStorageService = localStorageService; _StackOverflowService = stackOverflowService; Tags = new ObservableCollection<string>(); Questions = new ObservableCollection<Question>(); }
public UrlsController(IUrlService urlService) { _urlService = urlService; }
public DefaultBlogSaveService(ICmsConfiguration configuration, IUrlService urlService, IRepository repository, IOptionService optionService, IAccessControlService accessControlService, ISecurityService securityService, IContentService contentService, ITagService tagService, IPageService pageService, IRedirectService redirectService, IMasterPageService masterPageService, IUnitOfWork unitOfWork) : base(configuration, urlService, repository, optionService, accessControlService, securityService, contentService, tagService, pageService, redirectService, masterPageService, unitOfWork) { }
public UrlController(ISecurityService security, IUrlService urlService) { _security = security; _urlService = urlService; }
/// <summary> /// Initializes a new instance of the <see cref="DefaultRedirectService" /> class. /// </summary> /// <param name="unitOfWork">The unit of work.</param> /// <param name="urlService">The URL service.</param> /// <param name="repository">The repository.</param> public DefaultRedirectService(IUnitOfWork unitOfWork, IUrlService urlService, IRepository repository) { this.unitOfWork = unitOfWork; this.urlService = urlService; this.repository = repository; }
public CommerceConnectBasketController(IUrlService urlService, ICatalogContext catalogContext, ICatalogLibrary catalogLibrary) { _urlService = urlService; _catalogContext = catalogContext; _catalogLibrary = catalogLibrary; }
/// <summary> /// Initializes a new instance of the <see cref="PagePropertiesService" /> class. /// </summary> /// <param name="repository">The repository.</param> /// <param name="urlService">The URL service.</param> /// <param name="optionService">The option service.</param> /// <param name="fileUrlResolver">The file URL resolver.</param> /// <param name="masterPageService">The master page service.</param> /// <param name="tagService">The tag service.</param> /// <param name="accessControlService">The access control service.</param> /// <param name="unitOfWork">The unit of work.</param> /// <param name="pageService">The page service.</param> /// <param name="securityService">The security service.</param> public PagePropertiesService( IRepository repository, IUrlService urlService, IOptionService optionService, IMediaFileUrlResolver fileUrlResolver, IMasterPageService masterPageService, Module.Pages.Services.ITagService tagService, IAccessControlService accessControlService, IUnitOfWork unitOfWork, Module.Pages.Services.IPageService pageService, ISecurityService securityService, ICategoryService categoryService) { this.repository = repository; this.urlService = urlService; this.optionService = optionService; this.fileUrlResolver = fileUrlResolver; this.masterPageService = masterPageService; this.tagService = tagService; this.accessControlService = accessControlService; this.unitOfWork = unitOfWork; this.securityService = securityService; this.pageService = pageService; this.categoryService = categoryService; }
/// <summary> /// Initializes a new instance of the <see cref="DefaultBlogService" /> class. /// </summary> /// <param name="configuration">The configuration.</param> /// <param name="urlService">The URL service.</param> /// <param name="repository">The repository.</param> public DefaultBlogService(ICmsConfiguration configuration, IUrlService urlService, IRepository repository) { this.configuration = configuration; this.urlService = urlService; this.repository = repository; }
public CatalogHelper( SmartDbContext db, ICommonServices services, IMenuService menuService, IManufacturerService manufacturerService, IProductService productService, //IProductTemplateService productTemplateService, IProductAttributeService productAttributeService, IProductAttributeMaterializer productAttributeMaterializer, IProductAttributeFormatter productAttributeFormatter, ITaxService taxService, ICurrencyService currencyService, IMediaService mediaService, IPriceCalculationService priceCalculationService, //IPriceFormatter priceFormatter, //ISpecificationAttributeService specificationAttributeService, IDateTimeHelper dateTimeHelper, //IBackInStockSubscriptionService backInStockSubscriptionService, IDownloadService downloadService, MediaSettings mediaSettings, CatalogSettings catalogSettings, CustomerSettings customerSettings, CaptchaSettings captchaSettings, IMeasureService measureService, //IQuantityUnitService quantityUnitService, MeasureSettings measureSettings, TaxSettings taxSettings, PerformanceSettings performanceSettings, IDeliveryTimeService deliveryTimeService, Lazy <IDataExporter> dataExporter, ICatalogSearchService catalogSearchService, ICatalogSearchQueryFactory catalogSearchQueryFactory, IUrlHelper urlHelper, ProductUrlHelper productUrlHelper, ILocalizedEntityService localizedEntityService, IUrlService urlService, ILinkResolver linkResolver) { _db = db; _services = services; _workContext = services.WorkContext; _storeContext = services.StoreContext; _cache = services.Cache; _menuService = menuService; _manufacturerService = manufacturerService; _productService = productService; //_productTemplateService = productTemplateService; _productAttributeService = productAttributeService; _productAttributeMaterializer = productAttributeMaterializer; _productAttributeFormatter = productAttributeFormatter; _taxService = taxService; _currencyService = currencyService; _mediaService = mediaService; _localizationService = _services.Localization; _priceCalculationService = priceCalculationService; //_priceFormatter = priceFormatter; //_specificationAttributeService = specificationAttributeService; _dateTimeHelper = dateTimeHelper; //_backInStockSubscriptionService = backInStockSubscriptionService; _downloadService = downloadService; _measureService = measureService; //_quantityUnitService = quantityUnitService; _measureSettings = measureSettings; _taxSettings = taxSettings; _performanceSettings = performanceSettings; _deliveryTimeService = deliveryTimeService; _mediaSettings = mediaSettings; _catalogSettings = catalogSettings; _customerSettings = customerSettings; _captchaSettings = captchaSettings; _dataExporter = dataExporter; _catalogSearchService = catalogSearchService; _catalogSearchQueryFactory = catalogSearchQueryFactory; _urlHelper = urlHelper; _productUrlHelper = productUrlHelper; _localizedEntityService = localizedEntityService; _urlService = urlService; _linkResolver = linkResolver; _httpRequest = _urlHelper.ActionContext.HttpContext.Request; }
public CategoryService(IRepository <Category> _categoryRepository, IUrlService _urlService) { categoryRepository = _categoryRepository; urlService = _urlService; }
public HomeController(IUrlService urlService) { _urlService = urlService; }
/// <summary> /// Initializes a new instance of the <see cref="PageExistsService" /> class. /// </summary> public PageExistsService(IRepository repository, IUrlService urlService) { this.repository = repository; this.urlService = urlService; }
public LanguageController(IUrlService service) { _service = service; }
public RedirectUrlRepository(IUrlService urlService) { _urlService = urlService; }
public void SetUp() { service = new UrlService(); }
public UrlController(IUrlService urlService) { _urlService = urlService; }
public DefaultBlogSaveService(ICmsConfiguration configuration, IUrlService urlService, IRepository repository, IOptionService blogOptionService, IAccessControlService accessControlService, ISecurityService securityService, IContentService contentService, ITagService tagService, IPageService pageService, IRedirectService redirectService, IMasterPageService masterPageService, IUnitOfWork unitOfWork, RootOptionService optionService, ICategoryService categoryService) : base(configuration, urlService, repository, blogOptionService, accessControlService, securityService, contentService, tagService, pageService, redirectService, masterPageService, unitOfWork, optionService, categoryService) { }
/// <summary> /// Initializes a new instance of the <see cref="PageService" /> class. /// </summary> /// <param name="repository">The repository.</param> /// <param name="unitOfWork">The unit of work.</param> /// <param name="pagePropertiesService">The page properties service.</param> /// <param name="pageExistsService">The page exists service.</param> /// <param name="pageContentsService">The page contents service.</param> /// <param name="pageContentService">The page content service.</param> /// <param name="urlService">The URL service.</param> /// <param name="fileUrlResolver">The file URL resolver.</param> /// <param name="pageTranslationsService">The page translations service.</param> /// <param name="masterPageService">The master page service.</param> /// <param name="pageService">The page service.</param> /// <param name="sitemapService">The sitemap service.</param> /// <param name="tagService">The tag service.</param> /// <param name="accessControlService">The access control service.</param> public PageService( IRepository repository, IUnitOfWork unitOfWork, IPagePropertiesService pagePropertiesService, IPageExistsService pageExistsService, IPageContentsService pageContentsService, IPageContentService pageContentService, IUrlService urlService, IMediaFileUrlResolver fileUrlResolver, IPageTranslationsService pageTranslationsService, IMasterPageService masterPageService, Module.Pages.Services.IPageService pageService, ISitemapService sitemapService, ITagService tagService, IAccessControlService accessControlService) { this.pageContentsService = pageContentsService; this.pageContentService = pageContentService; this.pagePropertiesService = pagePropertiesService; this.pageExistsService = pageExistsService; this.repository = repository; this.urlService = urlService; this.fileUrlResolver = fileUrlResolver; this.pageTranslationsService = pageTranslationsService; }
public PagePropertiesService(IRepository repository, IUrlService urlService, IOptionService optionService) { this.repository = repository; this.urlService = urlService; this.optionService = optionService; }
public NewsController(IUserService userService, IPictureService pictureService, IUserContext userContext, ISliderService sliderService, ISettingService settingService, IVideoService videoService, ICommentService commentService, IReplyService replyService, IBlogService blogService, IPermissionService permissionService, IUrlHelper urlHelper, IUrlService urlService, ISMSService smsService, INewsService newsService) { _userService = userService; _pictureService = pictureService; _userContext = userContext; _sliderService = sliderService; _settingService = settingService; _videoService = videoService; _commentService = commentService; _replyService = replyService; _blogService = blogService; _permissionService = permissionService; _urlHelper = urlHelper; _urlService = urlService; _smsService = smsService; _newsService = newsService; }
public UrlCommand(IUrlService urlService) { this._urlService = urlService; }
public PageTranslationsService(IRepository repository, IUrlService urlService) { this.repository = repository; this.urlService = urlService; }
/// <summary> /// Initializes a new instance of the <see cref="DefaultBlogService" /> class. /// </summary> /// <param name="configuration">The configuration.</param> /// <param name="urlService">The URL service.</param> public DefaultBlogService(ICmsConfiguration configuration, IUrlService urlService) { this.configuration = configuration; this.urlService = urlService; }
public HomeController(IUrlService urllService, IDateService dateService) { this.urlService = urllService; this.dateService = dateService; }
public UserRepositoryDataServiceContext(IUrlService urlService) : base(urlService.GetServiceUri("UserRepository")) { }