The Wayback Machine - https://web.archive.org/web/20200703030102/https://github.com/topics/injector
Skip to content
#

injector

Here are 167 public repositories matching this topic...

Henry-Keys
Henry-Keys commented Jul 18, 2019

Provide possibility to create instances with dependencies provided from other modules.

class RepositoriesModule extends Module {
  RepositoriesModule () {
    // PersonRepository depends of PersonWebService
    factory(DependentRequestsRepository(inject()), () =>
        DependentRequestsRepository(inject()));
  }
}

class WebServicesModules extends Module {
    WebServicesMod

Improve this page

Add a description, image, and links to the injector topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the injector topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.