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

FromDescriptor

public abstract class FromDescriptor : IRegistration
Describes the source of types to register.

Allows a type to be registered multiple times.

Returns the descriptor for accepting a type.

public BasedOnDescriptor BasedOn(Type basedOn)

Returns the descriptor for accepting a type.

Returns the descriptor for accepting any type from given solutions.

protected abstract IEnumerable<Type> SelectedTypes(IKernel kernel)

Returns the descriptor for accepting a type based on a condition.