IFluentServiceConfigurator<TConfigurator>
public interface IFluentServiceConfigurator<TConfigurator> : IBaseFluentConfigurator<TConfigurator> where TConfigurator : IFluentServiceConfigurator<TConfigurator>
Represents the fluent service registraton api.
TConfigurator AsImplementedTypes()
Registers the given service by all of it's implemented types.
Binds the currently configured registration to an additional service type.
It means this registration would be used as a logical scope for it's dependencies, the dependencies registered with the InNamedScope and with the same name as it's param will be preffered during reolution.
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.
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.
Sets a parameterless factory delegate for the registration.
TConfigurator WithFactory(Func<IDependencyResolver, object> containerFactory, bool isCompiledLambda = false)
Sets a container factory delegate for the registration.
Sets an instance as the resolution target of the registration.
Sets the lifetime of the registration.
Sets the name of the registration.
TConfigurator WithPerResolutionRequestLifetime()
Sets the lifetime to ResolutionRequestLifetime. The container will inject this registration in a singleton per resolution request manner.
TConfigurator WithScopedLifetime()
Sets a scoped lifetime for the registration.
TConfigurator WithSingletonLifetime()
Sets a singleton lifetime for the registration.