예제 #1
0
파일: UrlParser.cs 프로젝트: dpawatts/zeus
        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;
        }
예제 #2
0
 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)
 {
 }
예제 #3
0
파일: UrlParser.cs 프로젝트: dpawatts/zeus
        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)
        {

        }