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);
redirectsJsModuleIncludeDescriptor = new RedirectsJsModuleIncludeDescriptor(this);
templatesJsModuleIncludeDescriptor = new TemplatesJsModuleIncludeDescriptor(this);
masterPagesJsModuleIncludeDescriptor = new MasterPagesJsModuleIncludeDescriptor(this);
historyJsModuleIncludeDescriptor = new HistoryJsModuleIncludeDescriptor(this);
sitemapJsModuleIncludeDescriptor = new SitemapJsModuleIncludeDescriptor(this);
// CategoryAccessors.Register<PageCategory, PageProperties>(PageProperties.CategorizableItemKeyForPages);
CategoryAccessors.Register<PageCategoryAccessor>();
RootEvents.Instance.PageRetrieved += Events_PageRetrieved;
// BetterModules.Events.WebCoreEvents.Instance.
RegisterRenderingPageProperties();
}