@xeito/injection
v0.3.5
Published
Dependency Injection for Xeito | Framework for building web applications
Downloads
37
Maintainers
Readme
Xeito Injection
This is the Dependency Injection library for Xeito Framework. It provides the classes and decorators required to create and access singleton services.
To find the full documentation and more links go to the main README file.
Exports:
Classes:
Registry
: The class that manages the injection registry (used by the decorators, not intended to be used directly) [Internal].
Decorators:
Injectable
: Marks a class as a service and adds related functionality.Inject
: Injects a service into a class (through a decorated property).
Interfaces
InjectableMetadata
: The interface for injectable metadata (decorator).