<PackageReference Include="Castle.Windsor" Version="3.1.0" />

AbstractFacility

public abstract class AbstractFacility : IFacility, IDisposable
Base class for facilities.
protected IConfiguration FacilityConfig { get; }

Gets the facility configuration.

protected IKernel Kernel { get; }

Gets the IKernel where the facility is registered.

protected AbstractFacility()

protected virtual void Dispose()

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

protected abstract void Init()

The custom initialization for the Facility.