FluentServiceConfigurator<TConfigurator>
public class FluentServiceConfigurator<TConfigurator> : BaseFluentConfigurator<TConfigurator> where TConfigurator : FluentServiceConfigurator<TConfigurator>
Represents the fluent service registration api.
This registration is used as a logical scope for it's dependencies. Dependencies registered with the InNamedScope with the same name will be preferred during resolution.
Indicates that the service's resolution should be handled by a dynamic Resolve call on the current IDependencyResolver instead of a pre-built instantiation expression.
public TConfigurator WithFactory(Func<IDependencyResolver, object> factory, bool isCompiledLambda = false)
Sets a container factory delegate for the registration.
Sets a parameter-less factory delegate for the registration.
Sets a parameterized factory delegate for the registration.
public TConfigurator WithFactory<T1, T2>(Func<T1, T2, object> factory, bool isCompiledLambda = false)
Sets a parameterized factory delegate for the registration.
public TConfigurator WithFactory<T1, T2, T3>(Func<T1, T2, T3, object> factory, bool isCompiledLambda = false)
Sets a parameterized factory delegate for the registration.
public TConfigurator WithFactory<T1, T2, T3, T4>(Func<T1, T2, T3, T4, object> factory, bool isCompiledLambda = false)
Sets a parameterized factory delegate for the registration.
public TConfigurator WithFactory<T1, T2, T3, T4, T5>(Func<T1, T2, T3, T4, T5, object> factory, bool isCompiledLambda = false)
Sets a parameterized factory delegate for the registration.
Sets the metadata.
Sets the name of the registration.