ioc_container library

Classes

IocContainer
A built Ioc Container. To create a new IocContainer, use IocContainerBuilder. To get a service from the container, call get. Builders create immutable containers unless you specify the isLazy option on toContainer(). You can build your own container by injecting service definitions and singletons here
IocContainerBuilder
A builder for creating an IocContainer.
ServiceDefinition<T>
Defines a factory for the service and whether or not it is a singleton.

Extensions

Extensions on IocContainerBuilder
Extensions for IocContainerBuilder
IocContainerExtensions on IocContainer
Extensions for IocContainer

Exceptions / Errors

ServiceNotFoundException<T>
An exception that occurs when the service is not found