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

BasedOnDescriptor

Describes how to register a group of related types.

Gets the service descriptor.

Allows a type to be registered multiple times.

Returns the descriptor for accepting a new type.

public BasedOnDescriptor BasedOn(Type basedOn)

Returns the descriptor for accepting a new type.

Allows customized configurations of each matching type.

Allows customized configurations of each matching type.

Allows customized configurations of each matching type that is assignable to T .

Allows customized configurations of each matching type that is assignable to T .

public BasedOnDescriptor If(Predicate<Type> ifFilter)

Assigns a conditional predication which must be satisfied.

public BasedOnDescriptor Unless(Predicate<Type> unlessFilter)

Assigns a conditional predication which must not be satisfied.

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