/// <summary> /// Integrate the module into the system. /// </summary> public override void Load() { base.Load(); this.InitializeDependencyResolver(); FrontendModuleInstaller.Initialize(); Bootstrapper.Initialized -= this.Bootstrapper_Initialized; Bootstrapper.Initialized += this.Bootstrapper_Initialized; }
/// <summary> /// Integrate the module into the system. /// </summary> public override void Load() { base.Load(); this.ninjectDependencyResolver = this.CreateKernel(); FrontendModuleInstaller.Initialize(this.DependencyResolver); Bootstrapper.Initialized -= this.Bootstrapper_Initialized; Bootstrapper.Initialized += this.Bootstrapper_Initialized; }
/// <summary> /// Initializes the service with specified settings. /// </summary> /// <param name="settings">The settings.</param> public override void Initialize(ModuleSettings settings) { base.Initialize(settings); Bootstrapper.Initialized -= this.Bootstrapper_Initialized; Bootstrapper.Initialized += this.Bootstrapper_Initialized; this.ninjectDependencyResolver = this.CreateKernel(); FrontendModuleInstaller.Initialize(this.DependencyResolver); App.WorkWith() .Module(settings.Name) .Initialize() .Configuration <FeatherConfig>(); }