C# Class Castle.MicroKernel.Facilities.AbstractFacility

Base class for facilities.
Inheritance: IFacility, IDisposable
Afficher le fichier Open project: castleproject/Windsor

Méthodes protégées

Méthode Description
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.

Private Methods

Méthode Description
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.

Method Details

Dispose() protected méthode

Performs the tasks associated with freeing, releasing, or resetting the facility resources.
It can be overriden.
protected Dispose ( ) : void
Résultat void

Init() protected abstract méthode

The custom initialization for the Facility.
It must be overridden.
protected abstract Init ( ) : void
Résultat void