ContainerConfigurator
Represents a container configurator.
The container configuration.
public IContainerConfigurator OnContainerConfigurationChanged(Action<ContainerConfiguration> configurationChanged)
Sets a callback delegate to call when the container configuration changes.
Enables conventional resolution, which means the container treats the constructor/method parameter or member names as dependency names used by named resolution.
Enables the circular dependency tracking.
Allows circular dependencies through Lazy objects.
public IContainerConfigurator WithConstructorSelectionRule(Func<IEnumerable<ConstructorInfo>, IEnumerable<ConstructorInfo>> selectionRule)
Sets the constructor selection rule.
Sets the default lifetime, used when a service doesn't have a configured one.
Enables the tracking of disposable transient objects.
public IContainerConfigurator WithMemberInjectionWithoutAnnotation(AutoMemberInjectionRules rule = 4, Func<MemberInfo, bool> filter = null)
Enables the member injection without annotation.
Forces the usage of Microsoft expression compiler to compile expression trees.
Enables the resolution of a named registration when a request ha been made without dependency name but with the same type.
Enables the optional and default value injection.
Enables the unique registration id generation for services even if the implementation type is the same.
public IContainerConfigurator WithUnknownTypeResolution(Action<RegistrationConfigurator> configurator = null)
Enables the unknown type resolution.