public UrlParser(IPersister persister, IHost host, IWebContext webContext, IItemNotifier notifier, HostSection config, ILanguageManager languageManager, CustomUrlsSection urls, GlobalizationSection globalizationConfig) { _persister = persister; _host = host; _webContext = webContext; _ignoreExistingFiles = config.Web.IgnoreExistingFiles; notifier.ItemCreated += OnItemCreated; _languageManager = languageManager; DefaultDocument = "default"; _useBrowserLanguagePreferences = (globalizationConfig != null) ? globalizationConfig.UseBrowserLanguagePreferences : false; _configUrlsSection = urls; }
public MultipleSitesUrlParser(IPersister persister, IWebContext webContext, IItemNotifier notifier, IHost host, HostSection config, ILanguageManager languageManager, CustomUrlsSection urls, GlobalizationSection globalizationConfig) : base(persister, host, webContext, notifier, config, languageManager, urls, globalizationConfig) { }
public UrlParser(IPersister persister, IHost host, IWebContext webContext, IItemNotifier notifier, HostSection config, ILanguageManager languageManager, CustomUrlsSection urls) : this(persister, host, webContext, notifier, config, languageManager, urls, null) { }