/// <summary>
        /// Initializes a new instance of the <see cref="RootModuleDescriptor" /> class.
        /// </summary>
        public RootModuleDescriptor(ICmsConfiguration configuration) : base(configuration)
        {
            authenticationJsModuleIncludeDescriptor = new AuthenticationJsModuleIncludeDescriptor(this);
            siteSettingsJsModuleIncludeDescriptor   = new SiteSettingsJsModuleIncludeDescriptor(this);
            tagsJsModuleIncludeDescriptor           = new TagsJsModuleIncludeDescriptor(this);

            InitializeSecurity();
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="RootModuleDescriptor" /> class.
 /// </summary>
 public RootModuleDescriptor(ICmsConfiguration configuration) : base(configuration)
 {
     authenticationJsModuleIncludeDescriptor = new AuthenticationJsModuleIncludeDescriptor(this);
     siteSettingsJsModuleIncludeDescriptor   = new SiteSettingsJsModuleIncludeDescriptor(this);
     tagsJsModuleIncludeDescriptor           = new TagsJsModuleIncludeDescriptor(this);
     categoriesJavaScriptModuleDescriptor    = new CategoriesJavaScriptModuleDescriptor(this);
     languagesJsModuleIncludeDescriptor      = new LanguagesJsModuleIncludeDescriptor(this);
     CategoryAccessors.Register <WidgetCategoryAccessor>();
     InitializeSecurity();
 }
Exemple #3
0
        /// <summary>
        /// Initializes a new instance of the <see cref="PagesModuleDescriptor" /> class.
        /// </summary>
        public PagesModuleDescriptor(ICmsConfiguration configuration) : base(configuration)
        {
            pagesJsModuleIncludeDescriptor          = new PagesJsModuleIncludeDescriptor(this);
            pagePropertiesJsModuleIncludeDescriptor = new PagePropertiesJsModuleIncludeDescriptor(this);
            seoJsModuleIncludeDescriptor            = new SeoJsModuleIncludeDescriptor(this);
            pagesContentJsModuleIncludeDescriptor   = new PagesContentJsModuleIncludeDescriptor(this);
            widgetsJsModuleIncludeDescriptor        = new WidgetsJsModuleIncludeDescriptor(this);
            tagsJsModuleIncludeDescriptor           = new TagsJsModuleIncludeDescriptor(this);
            redirectsJsModuleIncludeDescriptor      = new RedirectsJsModuleIncludeDescriptor(this);
            templatesJsModuleIncludeDescriptor      = new TemplatesJsModuleIncludeDescriptor(this);
            historyJsModuleIncludeDescriptor        = new HistoryJsModuleIncludeDescriptor(this);
            sitemapJsModuleIncludeDescriptor        = new SitemapJsModuleIncludeDescriptor(this);

            RootApiContext.Events.PageRetrieved += Events_PageRetrieved;
        }