IContainerConfigurator
Represents a container configurator.
The container configuration.
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.
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.
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.
Sets the actual behavior used when a new service is going to be registered into the container. See the RegistrationBehavior enum for available options.
IContainerConfigurator WithUnknownTypeResolution(Action<RegistrationConfigurator> configurator = null)
Enables the unknown type resolution.