zef_di_inglue 2.0.1 copy "zef_di_inglue: ^2.0.1" to clipboard
zef_di_inglue: ^2.0.1 copied to clipboard

discontinuedreplaced by: zef_di_core

An adapter for the ZEF_DI_Abstractions package.

zef_di_inglue #

This package offers an implementation for the ServiceLocatorAdapter from package zef_di_abstractions.

Caution

This project is discontinued, as it got renamed. Check out the new package zef_di_core instead.

Getting Started #

To get started with zef_di_inglue, add it to your project's dependency list:

dependencies:
  zef_di_inglue: ^latest_version

Usage #

  1. Set up the adapter

Check the readme of zef_di_abstractions to get started. In the setup process you will need to add an adapter for the ServiceLocator, and thats where this package comes in play:

void main() {
  ServiceLocatorBuilder()
    .withAdapter(InglueServiceLocatorAdapter()) // This is your adapter which handles the service registration
    .build();

  // Your application logic here
}
  1. Register the services

Now you can continue to register the services. Again, see the readme of zef_di_abstractions

Contributing #

Contributions are welcome! Please read our contributing guidelines and code of conduct before submitting pull requests or issues. Also every annotation or idea to improve is warmly appreciated.

2
likes
140
points
105
downloads

Publisher

verified publisherzooper.dev

Weekly Downloads

An adapter for the ZEF_DI_Abstractions package.

Homepage
Repository (GitHub)
View/report issues

Topics

#dependency-injection #di #injection #ioc #inversion-of-control

Documentation

API reference

Funding

Consider supporting this project:

buymeacoffee.com

License

MIT (license)

Dependencies

any_of, zef_di_abstractions, zef_helpers_lazy

More

Packages that depend on zef_di_inglue