AdvancedExtensions Methods

Simple Injector

The AdvancedExtensions type exposes the following members.

Methods

  NameDescription
Public methodStatic memberAppendToCollection(Container, Type, Registration)
Allows appending new registrations to existing registrations made using one of the RegisterCollection overloads.
Public methodStatic memberAppendToCollection(Container, Type, Type)
Allows appending new registrations to existing registrations made using one of the RegisterCollection overloads.
Public methodStatic memberGetItem
Retrieves an item from the container stored by the given key or null when no item is stored by that key.
Public methodStatic memberGetOrSetItemT
Adds an item by the given key in the container by using the specified function, if the key does not already exist. This operation is atomic.
Public methodStatic memberIsLocked
Determines whether the specified container is locked making any new registrations. The container is automatically locked when GetInstance is called for the first time.
Public methodStatic memberIsVerifying
Determines whether the specified container is currently verifying its configuration.
Public methodStatic memberSetItem
Stores an item by the given key in the container.
Top
See Also

Reference