<PackageReference Include="castle.windsor" Version="2.5.2" />

ILifecycleConcern

public interface ILifecycleConcern
Represents a concern that will be applied to a component instance during commission or decommission phase.
void Apply(ComponentModel model, object component)

Implementors should act on the instance in response to a decommission or commission phase.