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

IHandler

public interface IHandler : ISubDependencyResolver
Contract for the IHandler, which manages an component state and coordinates its creation and destruction (dispatching to activators, lifestyle managers)
using Castle.Core; using Castle.MicroKernel.Context; using System; namespace Castle.MicroKernel { public interface IHandler : ISubDependencyResolver { ComponentModel ComponentModel { get; } HandlerState CurrentState { get; } void Init(IKernelInternal kernel); bool IsBeingResolvedInContext(CreationContext context); bool Release(Burden burden); object Resolve(CreationContext context); bool Supports(Type service); bool SupportsAssignable(Type service); object TryResolve(CreationContext context); } }