MapDependencyResolver
Constructors
Functions
Checks if the given dependency key is present in the dependency map.
Creates an instance of the specified type T using the dependency resolver. This function uses the DependencyReflection
mechanism to dynamically construct an instance of the requested type, resolving dependencies as needed.
Creates or retrieves an instance of the specified type T from the DependencyResolver. If the instance does not already exist, it is created using reflection.
Retrieves an instance of the dependency associated with the given key from the dependency map.
Get an item from the dependency map synchronously.
Blocking is unavailable for other platforms, so we instead attempt to get the completed value.
Retrieves the value associated with the specified key if it exists. If the key does not already have an associated value, the result of invoking the defaultValue function will be stored and returned as the value for the given key.
Decorates the dependency resolver with a qualified name for the expected type.
Combines two DependencyMap
s into one.
Updates the waitForValues flag so that future consumers will fail immediately when no initializer is found.