C# Класс Castle.MicroKernel.Facilities.AbstractFacility

Base class for facilities.
Наследование: IFacility, IDisposable
Показать файл Открыть проект

Защищенные методы

Метод Описание
Dispose ( ) : void

Performs the tasks associated with freeing, releasing, or resetting the facility resources.

It can be overriden.

Init ( ) : void

The custom initialization for the Facility.

It must be overridden.

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

Метод Описание
IDisposable ( ) : void
IFacility ( ) : void

Terminates the Facility, invokes the Dispose method and sets the Kernel to a null reference.

IFacility ( IKernel kernel, IConfiguration facilityConfig ) : void

Initializes the facility. First it performs the initialization common for all facilities, setting the Kernel and the FacilityConfig. After it, the Init method is invoked and the custom initilization is perfomed.

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

Dispose() защищенный Метод

Performs the tasks associated with freeing, releasing, or resetting the facility resources.
It can be overriden.
protected Dispose ( ) : void
Результат void

Init() защищенный абстрактный Метод

The custom initialization for the Facility.
It must be overridden.
protected abstract Init ( ) : void
Результат void