import * as alosaur from "https://deno.land/x/alosaur@v0.35.0/src/injection/index.ts";
Classes
Dependency Container |
Functions
Class decorator factory that replaces the decorated class' constructor with a parameter less constructor that has dependencies auto-resolved | |
Parameter decorator factory that allows for interface information to be stored in the constructor's metadata | |
Class decorator factory that allows the class' dependencies to be injected at runtime. | |
Parameter decorator factory that allows for interface information to be stored in the constructor's metadata | |
Class decorator factory that allows constructor dependencies to be registered at runtime. | |
Class decorator factory that registers the class as a scoped dependency within the global container. | |
Class decorator factory that registers the class as a singleton within the global container. |
Interfaces
Provide a dependency using a factory. Unlike the other providers, this does not support instance caching. If you need instance caching, your factory method must implement it. | |