C# Class BetterCms.Module.Root.RootModuleDescriptor

Root functionality module descriptor.
Inheritance: ModuleDescriptor
Show file Open project: devbridge/BetterCMS

Public Methods

Method Description
RegisterCssIncludes ( ) : IEnumerable
RegisterCustomRoutes ( WebModuleRegistrationContext context, ContainerBuilder containerBuilder ) : void

Registers a routes.

RegisterJsIncludes ( ) : IEnumerable
RegisterModuleTypes ( BetterCms.Core.Modules.ModuleRegistrationContext context, ContainerBuilder containerBuilder ) : void

Registers module types.

RegisterSidebarHeaderProjections ( ContainerBuilder containerBuilder ) : IEnumerable
RegisterSidebarMainProjections ( ContainerBuilder containerBuilder ) : IEnumerable
RegisterSiteSettingsProjections ( ContainerBuilder containerBuilder ) : IEnumerable

Registers the site settings projections.

RootModuleDescriptor ( ICmsConfiguration configuration ) : System.Collections.Generic

Initializes a new instance of the RootModuleDescriptor class.

Private Methods

Method Description
CreateEmbeddedResourcesRoutes ( WebModuleRegistrationContext context ) : void

Creates the resource routes for 6 levels folder structure.

InitializeSecurity ( ) : void
OnEntityDelete ( SingleItemEventArgs args ) : void
OnEntitySave ( EntitySavingEventArgs args ) : void

Method Details

RegisterCssIncludes() public method

public RegisterCssIncludes ( ) : IEnumerable
return IEnumerable

RegisterCustomRoutes() public method

Registers a routes.
public RegisterCustomRoutes ( WebModuleRegistrationContext context, ContainerBuilder containerBuilder ) : void
context WebModuleRegistrationContext The area registration context.
containerBuilder Autofac.ContainerBuilder The container builder.
return void

RegisterJsIncludes() public method

public RegisterJsIncludes ( ) : IEnumerable
return IEnumerable

RegisterModuleTypes() public method

Registers module types.
public RegisterModuleTypes ( BetterCms.Core.Modules.ModuleRegistrationContext context, ContainerBuilder containerBuilder ) : void
context BetterCms.Core.Modules.ModuleRegistrationContext The area registration context.
containerBuilder Autofac.ContainerBuilder The container builder.
return void

RegisterSidebarHeaderProjections() public method

public RegisterSidebarHeaderProjections ( ContainerBuilder containerBuilder ) : IEnumerable
containerBuilder Autofac.ContainerBuilder
return IEnumerable

RegisterSidebarMainProjections() public method

public RegisterSidebarMainProjections ( ContainerBuilder containerBuilder ) : IEnumerable
containerBuilder Autofac.ContainerBuilder
return IEnumerable

RegisterSiteSettingsProjections() public method

Registers the site settings projections.
public RegisterSiteSettingsProjections ( ContainerBuilder containerBuilder ) : IEnumerable
containerBuilder Autofac.ContainerBuilder The container builder.
return IEnumerable

RootModuleDescriptor() public method

Initializes a new instance of the RootModuleDescriptor class.
public RootModuleDescriptor ( ICmsConfiguration configuration ) : System.Collections.Generic
configuration ICmsConfiguration
return System.Collections.Generic