Internally the loader is build using inversify. InversifyJS is a powerful and lightweight inversion of control container for JavaScript & Node.js apps powered by TypeScript.
For more details about InversifyJS please checkout: https://inversify.io/
This Element contains a default inversify container
Accessor for a Dispatcher; This dispatcher is created using a default package, containing definition for the dispatcher etc. please see nope.loader.generateNopeBasicPackage to checkout the default function.
INopePackageLoader
Function to add Activation Handlers.
INopePackageLoader
Helper to add the decorated Elements.
Optional
options: { Optional
addOptional
addOptional
consider?: ("services" | "classes")[]Add a Description of a Package to the Loader. This results in hosting the contained services and providing constructors for the shared classes.
Additionally all defined instances of a pac
INopePackageLoader
Functionality to add a complete Package. This results in hosting the contained services and providing constructors for the shared classes.
Afterwards the provided instances can be created using generateInstances.
INopePackageLoader
Generate the Instances that has been added via the packages.
INopePackageLoader
Optional
testRequirements: booleanFlag to turn on / off the Tests. Defaultly the test is activated. Circular dependencies are not handled.
Generated using TypeDoc
This is a helper used during the Building process of utilizing inversify. This might be deprecated.
Deprecated