Unique id for this container
Builds given resolver, but doesn't cache it, meaning that configured lifetime won't take effect here
It clears the container cache and resets the resolvers.
It clears the cache of all resolvers that are not singletons
Returns a proxy object that resolves the requested property from the container, or from the additionalItems object if it's provided
A proxy object that has a getter that returns the resolved value of the key.
Creates scoped instance of current container. All items that are registered with lifetime of LifeTime.Scoped
will be resolved once for created scope.
Singleton items will be resolved from root container.
A new Container instance.
Takes a key and a type, and returns a new container type with the key and type added to it. Does not register anything, but only adds the type to the container that can be used and registered later.
The container itself, but with the new type added to the items.
Fully disposes container instance, clearing cache, removing children containers and clearing resolvers.
Checks if the resolver for the given key exists. Does not actually resolve it.
Registers given resolver.
Container with extended type which contains registered resolver.
Takes a record of resolvers, and returns a container with the resolvers registered. Use to register many resolvers that don't depend on one another.
Container with extended type which contains registered resolvers.
Resolved items stored inside container.
Resolved item from container.
Creates new container instance.
A new instance of the class.
Generated using TypeDoc
Emits container related events.