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

IDecommissionConcern

public interface IDecommissionConcern
Represents a concern that will be applied to a component instance during decommission phase (right before component instance is destroyed).
void Apply(ComponentModel model, object component)

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