BaseFluentConfigurator<TConfigurator>
public class BaseFluentConfigurator<TConfigurator> : RegistrationConfiguration where TConfigurator : BaseFluentConfigurator<TConfigurator>
Represents the base of the fluent registration api.
Registers the given service by all of it's implemented types.
Binds the currently configured registration to an additional service type.
Binds the currently configured registration to an additional service type.
Sets a scope name condition for the registration, it will be used only when a scope with the given name requests it.
Sets a condition for the registration that it will be used only within the scope defined by the given type.
Sets a condition for the registration that it will be used only within the scope defined by the given type.
Tells the container that it should replace an existing registration with the current one, or add it if there is no existing found.
Tells the container that it should replace an existing registration with the current one, but only if there is an existing registration.
Sets a generic condition for the registration.
Sets a parent target condition for the registration.
Sets a parent target condition for the registration.
Sets an attribute condition for the registration.
Sets an attribute condition for the registration.
public TConfigurator WithAutoMemberInjection(AutoMemberInjectionRules rule = 4, Func<MemberInfo, bool> filter = null)
Enables auto member injection on the registration.
Sets the selected constructor.
Sets the selected constructor.
public TConfigurator WithConstructorSelectionRule(Func<IEnumerable<ConstructorInfo>, IEnumerable<ConstructorInfo>> rule)
The constructor selection rule.
Binds a constructor/method parameter or a property/field to a named registration, so the container will perform a named resolution on the bound dependency.
Binds a constructor/method parameter or a property/field to a named registration, so the container will perform a named resolution on the bound dependency.
Binds a constructor/method parameter or a property/field to a named registration, so the container will perform a named resolution on the bound dependency.
Sets injection parameters for the registration.
Sets injection parameters for the registration.
Sets the lifetime of the registration.
Tells the container that it shouldn't track the resolved transient object for disposal.
Sets the lifetime to PerRequestLifetime. This lifetime will create a new instance between resolution requests.
Within the request the same instance will be re-used.
Sets the lifetime to PerScopedRequestLifetime. This lifetime will create a new instance between scoped services. This means
that every scoped service will get a different instance but within their dependency tree it will behave as a singleton.
Sets scoped lifetime for the registration.
Sets singleton lifetime for the registration.
Sets transient lifetime for the registration.