BaseFluentConfigurator<TConfigurator>
public class BaseFluentConfigurator<TConfigurator> : RegistrationConfiguration where TConfigurator : BaseFluentConfigurator<TConfigurator>
Represents the base of the fluent registration api.
Set a member (property / field) with the given name as a dependency that should be filled by the container.
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 or method parameter to a named registration, so the container will perform a named resolution on the bound dependency.
Binds a constructor or method parameter to a named registration, so the container will perform a named resolution on the bound dependency.
Binds a constructor or method parameter 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 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.