Container Properties

Simple Injector

The Container type exposes the following members.


Public propertyCollection
Gets the object that allows access to methods related to registration and creation of collections.
Public propertyContainerScope
Gets the container scope that that manages the lifetime of singletons and other container-controlled instances. Use this property to register actions that need to be called and instances that need to be disposed when the container gets disposed.
Public propertyIsLocked
Gets a value indicating whether the container is locked from making any new registrations. The container is automatically locked when the first instance is resolved (e.g. by calling GetInstance).
Public propertyIsVerifying
Gets a value indicating whether the container is currently being verified on the current thread.
Public propertyOptions
Gets the container options.
See Also