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

Castle.Facilities.Startable.StartableFacilityRegistrationExtensions

namespace Castle.Facilities.Startable { public static class StartableFacilityRegistrationExtensions { public static ComponentRegistration<TService> Start<TService>(this ComponentRegistration<TService> registration) where TService : class; public static ComponentRegistration<TService> StartUsingMethod<TService>(this ComponentRegistration<TService> registration, string startMethod) where TService : class; public static ComponentRegistration<TService> StartUsingMethod<TService>(this ComponentRegistration<TService> registration, Expression<Func<TService, Action>> methodToUse) where TService : class; public static ComponentRegistration<TService> StopUsingMethod<TService>(this ComponentRegistration<TService> registration, string stopMethod) where TService : class; public static ComponentRegistration<TService> StopUsingMethod<TService>(this ComponentRegistration<TService> registration, Expression<Func<TService, Action>> methodToUse) where TService : class; } }