C# Класс Ninject.Web.NinjectHttpModule

An IHttpModule that injects dependencies into pages and usercontrols.
Наследование: DisposableObject, IHttpModule
Показать файл Открыть проект

Открытые методы

Метод Описание
Init ( System.Web.HttpApplication context ) : void

Initializes a module and prepares it to handle requests.

Приватные методы

Метод Описание
InjectDataBoundControl ( object sender, EventArgs e ) : void

Injects a data bound control.

InjectUserControls ( Control parent, bool skipDataBoundControls ) : void

Search for usercontrols within the parent control and inject their dependencies using KernelContainer.

OnPreRequestHandlerExecute ( object sender, EventArgs e ) : void

Injects dependencies into web pages and subscribes to their InitComplete Event to inject usercontrols with their dependencies.

Описание методов

Init() публичный Метод

Initializes a module and prepares it to handle requests.
public Init ( System.Web.HttpApplication context ) : void
context System.Web.HttpApplication A that provides access to the methods, properties, and events common to all application objects within an ASP.NET application
Результат void