public CultureService(IWorkContextAccessor workContextAccessor, IOrchardServices orchardServices, ICultureManager cultureManager, ILocalizationService localizationService) { _orchardServices = orchardServices; _cultureManager = cultureManager; //_workContextAccessor = workContextAccessor; _localizationService = localizationService; }
public ShadowCultureManager(IRepository<CultureRecord> cultureRepository, IEnumerable<ICultureSelector> cultureSelectors, ISignals signals, IWorkContextAccessor workContextAccessor) { _workContextAccessor = workContextAccessor; _underlyingCultureManager = new DefaultCultureManager(cultureRepository, cultureSelectors, signals, workContextAccessor); }
public LocalizableHomeController(IOrchardServices orchardServices, ICultureManager cultureManager, ILocalizableContentService localizableContentService, IAliasService aliasService) { _orchardServices = orchardServices; _cultureManager = cultureManager; _localizableContentService = localizableContentService; _aliasService = aliasService; Logger = NullLogger.Instance; }
public LocalizableMainMenuNavigationProvider(IContentManager contentManager, ICultureManager cultureManager, IWorkContextAccessor workContextAccessor, ILocalizationService localizationService) { _contentManager = contentManager; _cultureManager = cultureManager; _workContextAccessor = workContextAccessor; _localizationService = localizationService; }
public LocalizationBucket(ICultureManager cultureManager, IWorkContextAccessor workContextAccessor) { var currentCultureName = cultureManager.GetCurrentCulture(workContextAccessor.GetContext().HttpContext); var defaultCultureName = cultureManager.GetSiteCulture(); CurrentCulture = cultureManager.GetCultureByName(currentCultureName); DefaultCulture = cultureManager.GetCultureByName(defaultCultureName); IsCurrentCultureDefault = CurrentCulture != null && CurrentCulture.Id == DefaultCulture.Id; }
public CategoryService( IOrchardServices services, IContentManager contentManager, ICultureManager cultureManager) { Services = services; _contentManager = contentManager; _cultureManager = cultureManager; }
public AdminCultureSelectorFactory( IWorkContextAccessor workContextAccessor, IShapeFactory shapeFactory, ICultureManager cultureManager) { _cultureManager = cultureManager; _workContext = workContextAccessor.GetContext(); Shape = shapeFactory; }
public LocalizedMenuFilter( ICultureManager cultureManager, IWorkContextAccessor workContextAccessor, ISiteService siteService ) { _cultureManager = cultureManager; _workContextAccessor = workContextAccessor; _siteService = siteService; }
public AdminController( ISiteService siteService, IOrchardServices services, ICultureManager cultureManager) { _siteService = siteService; _cultureManager = cultureManager; Services = services; T = NullLocalizer.Instance; }
public LocalizableHomeController(IEnumerable<IHomePageProvider> homePageProviders, IOrchardServices orchardServices, IContentManager contentManager, ICultureManager cultureManager, IWorkContextAccessor workContextAccessor, ILocalizableContentService localizableContentService) { _homePageProviders = homePageProviders; _orchardServices = orchardServices; _contentManager = contentManager; _cultureManager = cultureManager; _workContextAccessor = workContextAccessor; _localizableContentService = localizableContentService; Logger = NullLogger.Instance; }
public ResourceFormController(IContentManager contentManager, ICultureManager cultureManager, IEmailService emailService, IOrchardServices services, IIndexingTaskManager indexingTasks) { this.contentManager = contentManager; this.cultureManager = cultureManager; this.emailManager = emailService; orchardServices = services; _indexingTasks = indexingTasks; Logger = NullLogger.Instance; }
public EntryService( IOrchardServices services, IContentManager contentManager, IPublishingTaskManager publishingTaskManager, ICultureManager cultureManager) { Services = services; _contentManager = contentManager; _publishingTaskManager = publishingTaskManager; _cultureManager = cultureManager; }
public ProductAdminController(IProductService productService, IShapeFactory shapeFactory, ISiteService siteService, IContentManager contentManager, IContentDefinitionManager contentDefinitionManager, ICultureManager cultureManager, ICultureFilter cultureFilter, IOrchardServices services) { Shape = shapeFactory; _productService = productService; _siteService = siteService; _contentManager = contentManager; _contentDefinitionManager = contentDefinitionManager; _cultureManager = cultureManager; _cultureFilter = cultureFilter; Services = services; }
public LocalizationService(IWorkContextAccessor wca, ICultureManager cultureManager, ICacheManager cacheManager, ISignals signals, IOrchardServices services, ShellSettings shellSettings) { _shellSettings = shellSettings; _services = services; _signals = signals; T = NullLocalizer.Instance; _wca = wca; _cultureManager = cultureManager; _cacheManager = cacheManager; }
public ContentDefinitionEventHandler( IContentManager contentManager, Lazy<IAutorouteService> autorouteService, IOrchardServices orchardServices, IContentDefinitionManager contentDefinitionManager, ICultureManager cultureManager) { _cultureManager = cultureManager; _contentDefinitionManager = contentDefinitionManager; _orchardServices = orchardServices; _autorouteService = autorouteService; _contentManager = contentManager; }
public LocalizableItemController( IContentManager contentManager, IContainersPathConstraint containersPathConstraint, IShapeFactory shapeFactory, ISiteService siteService, ICultureManager cultureManager) { _contentManager = contentManager; _containersPathConstraint = containersPathConstraint; _siteService = siteService; _cultureManager = cultureManager; Shape = shapeFactory; }
public CultureBodyPartDriver( ILocalizationService locService, IOrchardServices services, ICultureManager cutureManager, RequestContext requestContext, IEnumerable<IHtmlFilter> htmlFilters) : base(services, htmlFilters, requestContext) { _locService = locService; _services = services; _cutureManager = cutureManager; _htmlFilters = htmlFilters; }
public AdminController( IOrchardServices orchardServices, IContentManager contentManager, ILocalizationService localizationService, ICultureManager cultureManager, IShapeFactory shapeFactory) { _contentManager = contentManager; _localizationService = localizationService; _cultureManager = cultureManager; T = NullLocalizer.Instance; Services = orchardServices; Shape = shapeFactory; }
public AdminController(IContentDefinitionManager contentDefinitionManager, IContentManager contentManager, IExportSpecificService exportSpecificService, ISiteService siteService, ICultureFilter cultureFilter, ICultureManager cultureManager, IShapeFactory shapeFactory, IOrchardServices orchardServices) { _contentDefinitionManager = contentDefinitionManager; _contentManager = contentManager; _cultureFilter = cultureFilter; _cultureManager = cultureManager; _exportSpecificService = exportSpecificService; _siteService = siteService; Shape = shapeFactory; Services = orchardServices; T = NullLocalizer.Instance; }
public HighlightsGroupDriver(IHighlightsService HighlightsService, ICultureManager cultureManager, IContentManager contentManager, IProjectionManager projectionManager, ITransactionManager transactions, IHttpContextAccessor httpContextAccessor, IWorkContextAccessor workContext, IShapeFactory shapeFactory, IOrchardServices orchardServices) { _HighlightsService = HighlightsService; _contentManager = contentManager; _transactions = transactions; _cultureManager = cultureManager; _httpContextAccessor = httpContextAccessor; _workContext = workContext; _shapeFactory = shapeFactory; _projectionManager = projectionManager; _orchardServices = orchardServices; }
public LocalizationService(ICultureManager cultureManager, ICacheManager cacheManager, ISignals signals, IOrchardServices services, ShellSettings shellSettings, ISessionLocator sessionLocator, IWorkContextAccessor workContextAccessor) { _shellSettings = shellSettings; _sessionLocator = sessionLocator; _workContextAccessor = workContextAccessor; _services = services; _signals = signals; T = NullLocalizer.Instance; _cultureManager = cultureManager; _cacheManager = cacheManager; }
public ContentShortCodeAdminController( IOrchardServices orchardServices, IContentDefinitionManager contentDefinitionManager, INavigationManager navigationManager, ISiteService siteService, ICultureManager cultureManager, ICultureFilter cultureFilter) { Services = orchardServices; _contentDefinitionManager = contentDefinitionManager; _navigationManager = navigationManager; _siteService = siteService; _cultureManager = cultureManager; _cultureFilter = cultureFilter; T = NullLocalizer.Instance; }
public LocalizationPartHandler(IRepository<LocalizationPartRecord> localizedRepository, ICultureManager cultureManager, IContentManager contentManager) { _cultureManager = cultureManager; _contentManager = contentManager; T = NullLocalizer.Instance; Filters.Add(StorageFilter.For(localizedRepository)); OnActivated<LocalizationPart>(PropertySetHandlers); OnLoading<LocalizationPart>((context, part) => LazyLoadHandlers(part)); OnVersioning<LocalizationPart>((context, part, versionedPart) => LazyLoadHandlers(versionedPart)); OnIndexed<LocalizationPart>((context, localized) => context.DocumentIndex .Add("culture", CultureInfo.GetCultureInfo(localized.Culture != null ? localized.Culture.Culture : _cultureManager.GetSiteCulture()).LCID).Store() ); }
public LocalizedTagsService(IContentManager contentManager, IRepository<ContentTagRecord> contentTagRepository, IRepository<LocalizationPartRecord> localizationPartRepository, ICultureManager cultureManager, IWorkContextAccessor workContextAccessor, ICacheManager cacheManager, ISignals signals) { _contentManager = contentManager; _contentTagRepository = contentTagRepository; _localizationPartRepository = localizationPartRepository; _cultureManager = cultureManager; _workContextAccessor = workContextAccessor; _cacheManager = cacheManager; _signals = signals; }
public LocalizedTagsService(IContentManager contentManager, IRepository <ContentTagRecord> contentTagRepository, IRepository <LocalizationPartRecord> localizationPartRepository, ICultureManager cultureManager, IWorkContextAccessor workContextAccessor, ICacheManager cacheManager, ISignals signals) { _contentManager = contentManager; _contentTagRepository = contentTagRepository; _localizationPartRepository = localizationPartRepository; _cultureManager = cultureManager; _workContextAccessor = workContextAccessor; _cacheManager = cacheManager; _signals = signals; }
public LocalizedTaxonomyFieldHandler( ILocalizationService localizationService, INotifier notifier, ITaxonomyService taxonomyService, ITaxonomyExtensionsService taxonomyExtensionsService, IContentManager contentManager, ICultureManager cultureManager ) { _notifier = notifier; _localizationService = localizationService; _taxonomyService = taxonomyService; _taxonomyExtensionsService = taxonomyExtensionsService; _contentManager = contentManager; _cultureManager = cultureManager; T = NullLocalizer.Instance; }
public AutorouteService( IAliasService aliasService, ITokenizer tokenizer, IContentDefinitionManager contentDefinitionManager, IContentManager contentManager, IRouteEvents routeEvents, ICultureManager cultureManager, IHttpContextAccessor httpContextAccessor) { _aliasService = aliasService; _tokenizer = tokenizer; _contentDefinitionManager = contentDefinitionManager; _contentManager = contentManager; _routeEvents = routeEvents; _cultureManager = cultureManager; _httpContextAccessor = httpContextAccessor; }
public AutorouteService( IAliasService aliasService, ITokenizer tokenizer, IContentDefinitionManager contentDefinitionManager, IContentManager contentManager, IRouteEvents routeEvents, ICultureManager cultureManager, IHttpContextAccessor httpContextAccessor) { _aliasService = aliasService; _tokenizer = tokenizer; _contentDefinitionManager = contentDefinitionManager; _contentManager = contentManager; _routeEvents = routeEvents; _cultureManager = cultureManager; _httpContextAccessor = httpContextAccessor; }
public AdminController( ITomeltServices tomeltServices, ISiteService siteService, IContentDefinitionManager contentDefinitionManager, INavigationManager navigationManager, ICultureManager cultureManager, ICultureFilter cultureFilter) { _siteService = siteService; _contentDefinitionManager = contentDefinitionManager; _navigationManager = navigationManager; Services = tomeltServices; _cultureManager = cultureManager; _cultureFilter = cultureFilter; T = NullLocalizer.Instance; }
public LocalizationPartHandler(IRepository <LocalizationPartRecord> localizedRepository, ICultureManager cultureManager, IContentManager contentManager) { _cultureManager = cultureManager; _contentManager = contentManager; T = NullLocalizer.Instance; Filters.Add(StorageFilter.For(localizedRepository)); OnActivated <LocalizationPart>(PropertySetHandlers); OnLoading <LocalizationPart>((context, part) => LazyLoadHandlers(part)); OnVersioning <LocalizationPart>((context, part, versionedPart) => LazyLoadHandlers(versionedPart)); OnIndexed <LocalizationPart>((context, localized) => context.DocumentIndex .Add("culture", CultureInfo.GetCultureInfo(localized.Culture != null ? localized.Culture.Culture : _cultureManager.GetSiteCulture()).LCID).Store() ); }
public ContentItemController( ShellSettings shellSettings, INotifier notifier, ICsrfTokenHelper csrfTokenHelper, IOrchardServices orchardServices, IAuthenticationService authenticationService, IContentExtensionService contentExtensionService, Lazy <IAutorouteService> autorouteService, ILocalizationService localizationService, ICultureManager cultureManager, IUtilsServices utilsServices, IContentDefinitionManager contentDefinitionManager, ITaxonomyService taxonomyService, ILocalizedStringManager localizedStringManager, ITransactionManager transactionManager, Lazy <IEnumerable <IContentHandler> > handlers, IRazorTemplateManager razorTemplateManager, IRazorBaseService razorService, IContentManager contentManager, IAuthorizer authorizer ) { _razorTemplateManager = razorTemplateManager; _localizedStringManager = localizedStringManager; _taxonomyService = taxonomyService; _contentDefinitionManager = contentDefinitionManager; _shellSettings = shellSettings; _csrfTokenHelper = csrfTokenHelper; _orchardServices = orchardServices; _authenticationService = authenticationService; _contentExtensionService = contentExtensionService; _autorouteService = autorouteService; _localizationService = localizationService; _cultureManager = cultureManager; _utilsServices = utilsServices; _transactionManager = transactionManager; _handlers = handlers; _notifier = notifier; _razorService = razorService; _contentManager = contentManager; _authorizer = authorizer; T = NullLocalizer.Instance; Logger = NullLogger.Instance; }
public AdminController( IOrchardServices services, IWidgetsService widgetsService, IShapeFactory shapeFactory, ISiteThemeService siteThemeService, IVirtualPathProvider virtualPathProvider, ICultureManager cultureManager) { Services = services; _widgetsService = widgetsService; _siteThemeService = siteThemeService; _virtualPathProvider = virtualPathProvider; _cultureManager = cultureManager; T = NullLocalizer.Instance; Logger = NullLogger.Instance; Shape = shapeFactory; }
public LocalizationService(IWorkContextAccessor wca, ISessionLocator sessionLocator, ICultureManager cultureManager, ICacheManager cacheManager, ISignals signals, IOrchardServices services, ShellSettings shellSettings, IRepository <TranslationRecord> translationRepository, IRepository <LocalizableStringRecord> localizableStringRepository) { _sessionLocator = sessionLocator; _shellSettings = shellSettings; _services = services; _signals = signals; T = NullLocalizer.Instance; _wca = wca; _cultureManager = cultureManager; _cacheManager = cacheManager; _translationRepository = translationRepository; _localizableStringRepository = localizableStringRepository; }
public SiteSettingsPartDriver( ISiteService siteService, ICultureManager cultureManager, ICalendarManager calendarProvider, IMembershipService membershipService, INotifier notifier, IAuthorizer authorizer) { _siteService = siteService; _cultureManager = cultureManager; _calendarProvider = calendarProvider; _membershipService = membershipService; _notifier = notifier; _authorizer = authorizer; T = NullLocalizer.Instance; Logger = NullLogger.Instance; }
public PolicyServices(IContentManager contentManager, IContentSerializationServices contentSerializationServices, OrchardNS.IWorkContextAccessor workContext, ICultureManager cultureManager, IRepository <UserPolicyAnswersRecord> userPolicyAnswersRepository, IRepository <UserPolicyAnswersHistoryRecord> userPolicyAnswersHistoryRepository, IControllerContextAccessor controllerContextAccessor, IPolicyEventHandler policyEventHandler) { _contentManager = contentManager; _contentSerializationServices = contentSerializationServices; _workContext = workContext; _cultureManager = cultureManager; _userPolicyAnswersRepository = userPolicyAnswersRepository; _userPolicyAnswersHistoryRepository = userPolicyAnswersHistoryRepository; _controllerContextAccessor = controllerContextAccessor; _policyEventHandler = policyEventHandler; }
public void Execute(IApplicationBuilder applicationBuilder, IServiceProvider serviceProvider) { serviceProvider = serviceProvider.CreateScope().ServiceProvider; RequestLocalizationOptions requestLocalizationOptions = new RequestLocalizationOptions(); ICultureManager cultureManager = serviceProvider.GetService <ICultureManager>(); Culture frontendDefaultCulture = cultureManager.GetFrontendDefaultCultureAsync().Result; if (frontendDefaultCulture == null) { requestLocalizationOptions.DefaultRequestCulture = new RequestCulture(DefaultCulture.Id); } else { requestLocalizationOptions.DefaultRequestCulture = new RequestCulture(frontendDefaultCulture.Id); } if (cultureManager.GetNotNeutralCulturesAsync().Result.Count() == 0) { requestLocalizationOptions.SupportedCultures = requestLocalizationOptions.SupportedUICultures = new CultureInfo[] { new CultureInfo(DefaultCulture.Id) }.ToList(); } else { requestLocalizationOptions.SupportedCultures = requestLocalizationOptions.SupportedUICultures = cultureManager.GetNotNeutralCulturesAsync().Result.Select(c => new CultureInfo(c.Id)).ToList(); } if (serviceProvider.GetService <IConfigurationManager>()["Globalization", "SpecifyCultureInUrl"] == "yes") { requestLocalizationOptions.RequestCultureProviders.Insert(0, new RouteValueRequestCultureProvider()); } applicationBuilder.UseWhen( context => !context.Request.Path.StartsWithSegments(new PathString("/backend")), frontendApplicationBuilder => { frontendApplicationBuilder.UseRequestLocalization(requestLocalizationOptions); } ); }
public AutoroutePartDriver( IAutorouteService autorouteService, INotifier notifier, IHomeAliasService homeAliasService, IAliasService aliasService, IAuthorizer authorizer, ICultureManager cultureManager, IContentManager contentManager, IHttpContextAccessor httpContextAccessor) { _aliasService = aliasService; _contentManager = contentManager; _autorouteService = autorouteService; _notifier = notifier; _homeAliasService = homeAliasService; _cultureManager = cultureManager; _httpContextAccessor = httpContextAccessor; T = NullLocalizer.Instance; }
//private IRepository<EmployeePartRecord> _employeeRepository; public ADUpdaterService(IContentManager contentManager, IOrchardServices orchardServices, ICultureManager cultureManager, ICacheManager cacheManager, ILdapServiceFactory ldapServiceFactory, IMediaLibraryService mediaLibraryService, IStorageProvider storageProvider) { _contentManager = contentManager; this.orchardServices = orchardServices; originalMembershipService = new Lazy<IMembershipService>(() => this.orchardServices.WorkContext.Resolve<IEnumerable<IMembershipService>>().Single(x => x is MembershipService)); this.cultureManager = cultureManager; this.cacheManager = cacheManager; this.ldapServiceFactory = ldapServiceFactory; this.mediaLibraryService = mediaLibraryService; this.storageProvider = storageProvider; Logger = NullLogger.Instance; T = NullLocalizer.Instance; }
//private readonly string cultureUsed = string.Empty; public FaqAdminController(IOrchardServices services, IShapeFactory shapeFactory, ITeeyootFaqService faqService, ISiteService siteService, IWorkContextAccessor workContextAccessor, ICultureManager cultureManager, ICountryCulturesProvider countryCulturesProvider) { _faqService = faqService; _siteService = siteService; Services = services; T = NullLocalizer.Instance; Logger = NullLogger.Instance; Shape = shapeFactory; _workContextAccessor = workContextAccessor; _cultureManager = cultureManager; _countryCulturesProvider = countryCulturesProvider; //var culture = _workContextAccessor.GetContext().CurrentCulture; //cultureUsed = culture == "en-SG" ? "en-SG" : (culture == "id-ID" ? "id-ID" : "en-MY"); }
public LocalizationCache([NotNull] ICultureStore store, [NotNull] IMemoryCache cache, [NotNull] ICultureContext context, [NotNull] ICultureManager manager, IOptionsSnapshot <CultureCacheOptions> optionsSnapshot) { _store = store ?? throw new ArgumentNullException(nameof(store)); _cache = cache ?? throw new ArgumentNullException(nameof(cache)); _manager = manager ?? throw new ArgumentNullException(nameof(manager)); _options = optionsSnapshot?.Value ?? new CultureCacheOptions(); _cacheOptions = new MemoryCacheEntryOptions() .SetSlidingExpiration(TimeSpan.FromSeconds(_options.CacheLifespanInSeconds)) .RegisterPostEvictionCallback((key, value, reason, state) => { if (reason != EvictionReason.Replaced) { } }); _culture = context.UICulture; }
public AdminController( IOrchardServices orchardServices, IContentManager contentManager, IContentDefinitionManager contentDefinitionManager, ITransactionManager transactionManager, ISiteService siteService, IShapeFactory shapeFactory, ICultureManager cultureManager, ICultureFilter cultureFilter) { Services = orchardServices; _contentManager = contentManager; _contentDefinitionManager = contentDefinitionManager; _transactionManager = transactionManager; _siteService = siteService; _cultureManager = cultureManager; _cultureFilter = cultureFilter; T = NullLocalizer.Instance; Logger = NullLogger.Instance; Shape = shapeFactory; }
public CommunicationService( ITaxonomyService taxonomyService, IRepository <CommunicationEmailRecord> repositoryCommunicationEmailRecord, INotifier notifier, IModuleService moduleService, IOrchardServices orchardServices, IShortLinksService shortLinksService, IContentExtensionsServices contentExtensionsServices, ISessionLocator session, ICultureManager cultureManager, IRepository <CommunicationSmsRecord> repositoryCommunicationSmsRecord, IContactRelatedEventHandler contactRelatedEventHandler, ITransactionManager transactionManager, IFieldIndexService fieldIndexService, IAutorouteService autorouteService, IRepository <CommunicationRetryRecord> repositoryCommunicationRetryRecord, IContentDefinitionManager contentDefinitionManager, IUtilsServices utilsServices) { _orchardServices = orchardServices; _shortLinksService = shortLinksService; _contentExtensionsServices = contentExtensionsServices; _moduleService = moduleService; _notifier = notifier; _repositoryCommunicationEmailRecord = repositoryCommunicationEmailRecord; _repositoryCommunicationSmsRecord = repositoryCommunicationSmsRecord; _repositoryCommunicationRetryRecord = repositoryCommunicationRetryRecord; _taxonomyService = taxonomyService; _cultureManager = cultureManager; _contactRelatedEventHandler = contactRelatedEventHandler; _transactionManager = transactionManager; _fieldIndexService = fieldIndexService; _autorouteService = autorouteService; _contentDefinitionManager = contentDefinitionManager; _utilsServices = utilsServices; T = NullLocalizer.Instance; }
public void Init() { var builder = new ContainerBuilder(); _stubWorkContext = new StubWorkContext(); builder.RegisterType<DefaultShapeTableManager>().As<IShapeTableManager>(); builder.RegisterType<DefaultShapeFactory>().As<IShapeFactory>(); builder.RegisterInstance(new Mock<IContentDefinitionManager>().Object); builder.RegisterInstance(new Mock<IAuthorizer>().Object); builder.RegisterInstance(new Mock<INotifier>().Object); builder.RegisterInstance(new Mock<IContentDisplay>().Object); builder.RegisterInstance(_stubWorkContext); builder.RegisterInstance(new StubWorkContextAccessor(_stubWorkContext)).As<IWorkContextAccessor>(); builder.RegisterType<DefaultContentManager>().As<IContentManager>(); builder.RegisterType<DefaultContentManagerSession>().As<IContentManagerSession>(); builder.RegisterType<OrchardServices>().As<IOrchardServices>(); builder.RegisterType<DefaultCultureManager>().As<ICultureManager>(); builder.RegisterType<Signals>().As<ISignals>(); builder.RegisterType<StubCacheManager>().As<ICacheManager>(); builder.RegisterGeneric(typeof(Repository<>)).As(typeof(IRepository<>)); _session = _sessionFactory.OpenSession(); builder.RegisterInstance(new TestTransactionManager(_session)).As<ITransactionManager>(); _container = builder.Build(); _cultureManager = _container.Resolve<ICultureManager>(); }
public AdminController( IOrchardServices orchardServices, IContentManager contentManager, IContentDefinitionManager contentDefinitionManager, IContentDefinitionService contentDefinitionService, ITransactionManager transactionManager, ISiteService siteService, IShapeFactory shapeFactory, ICultureManager cultureManager, IRepository <CultureRecord> cultureRepo, INotifier notifier, IUserService userService, IDateLocalization dataLocalization, ITaxonomyService taxonomyService, IRepository <FieldIndexPartRecord> cpfRepo, ILocalizationService localizationService, ICommonsServices commonService) { Services = orchardServices; _contentManager = contentManager; _contentDefinitionManager = contentDefinitionManager; _contentDefinitionService = contentDefinitionService; _transactionManager = transactionManager; _siteService = siteService; _cultureManager = cultureManager; _cultureRepo = cultureRepo; T = NullLocalizer.Instance; Logger = NullLogger.Instance; Shape = shapeFactory; _taxonomyService = taxonomyService; _dataLocalization = dataLocalization; _userService = userService; _notifier = notifier; _cpfRepo = cpfRepo; _localizationService = localizationService; _commonService = commonService; }
public ContentController(IReflectionContentManager moduleManager, ICultureManager cultureManager) { _reflectionContentManager = moduleManager; _cultureManager = cultureManager; }
public CultureCommands(ICultureManager cultureManager, ICoeveryServices coeveryServices) { _cultureManager = cultureManager; _coeveryServices = coeveryServices; }
public CultureCommands(ICultureManager cultureManager, IOrchardServices orchardServices) { _cultureManager = cultureManager; _orchardServices = orchardServices; }
public LocalizableContentService(ILocalizationService localizationService, ICultureManager cultureManager, IContentManager contentManager) { _localizationService = localizationService; _cultureManager = cultureManager; _contentManager = contentManager; }
public WidgetsContainerPartDriver(ISiteThemeService siteThemeService, IWidgetsService widgetsService, IVirtualPathProvider virtualPathProvider, IShapeFactory shapeFactory, IWidgetManager widgetManager, IWorkContextAccessor wca, IContentManager contentManager, IOrchardServices services, ILocalizationService localizationService, ICultureManager cultureManager) { _siteThemeService = siteThemeService; _widgetsService = widgetsService; _virtualPathProvider = virtualPathProvider; New = shapeFactory; _widgetManager = widgetManager; _wca = wca; _contentManager = contentManager; _services = services; _localizationService = localizationService; _cultureManager = cultureManager; }
public ContentModelMetadataCreator(IContentManager contentManager, ICultureManager cultureManager) { _contentManager = contentManager; _cultureManager = cultureManager; }
public PostsController(IPostsManager postsManager, ICultureManager cultureManager) { _postsManager = postsManager; _cultureManager = cultureManager; }
public FaqEntryPartDriver(ILanguageService languageService, ITeeyootFaqService faqService, IContentManager contentManager, ICultureManager cultureManager) { _languageService = languageService; _contentManager = contentManager; _faqService = faqService; _cultureManager = cultureManager; T = NullLocalizer.Instance; }
public LocalizableMainMenuNavigationFilter(ICultureManager cultureManager, IWorkContextAccessor workContextAccessor) { _cultureManager = cultureManager; _workContextAccessor = workContextAccessor; }
public LocalizationPartDriver(ICultureManager cultureManager, ILocalizationService localizationService, IContentManager contentManager) { _cultureManager = cultureManager; _localizationService = localizationService; _contentManager = contentManager; }
public AutorouteSettingsHooks(INotifier notifier, ICultureManager cultureManager) { _notifier = notifier; _cultureManager = cultureManager; }
public LocalizationCultureFilter(ICultureManager cultureManager) { _cultureManager = cultureManager; }
public LocalizationService(IContentManager contentManager, ICultureManager cultureManager) { _contentManager = contentManager; _cultureManager = cultureManager; }
public CultureTokensProvider(ICultureManager cultureManager) { T = NullLocalizer.Instance; _cultureManager = cultureManager; }
public DefaultMailCommunicationService(ITransactionManager transactionManager, IQueryPickerService queryPickerServices, IOrchardServices orchardServices, ICultureManager cultureManager) { _orchardServices = orchardServices; _cultureManager = cultureManager; _queryPickerServices = queryPickerServices; _transactionManager = transactionManager; }
public AbusesController(ICommentsManager commentsManager, ICultureManager cultureManager) { _commentsManager = commentsManager; _cultureManager = cultureManager; }