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, getAsync, or getAsyncSafe Call scoped to get a scoped container
IocContainerBuilder
👷 A builder for creating an IocContainer.
ServiceDefinition<T>
📙 Defines a factory for the service and whether or not it is a singleton.

Extensions

IocContainerExtensions on IocContainer
Extensions for IocContainer

Exceptions / Errors

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