Initializes a new instance of the IoCContainer class.
Loads the provided service map and registers it globally.
The service map defining how services are registered and resolved.
Private__A global platform-specific object, decorated with @platformGlobal.
PrivateserviceA record of service map items, keyed by their unique identifiers.
PrivateservicesA record of registered services, keyed by their unique identifiers.
PrivatecreateLoads the service map and registers its items.
The service map to load.
Registers a service with the specified key.
The unique key identifying the service.
The service instance to register.
Resolves a service by its key. If the service is not found, it attempts to create it from the service map.
The unique key identifying the service.
The resolved service instance.
IoCContaineris responsible for managing service registration and resolution. It supports dependency injection and lazy initialization of services.