typeioc

Home > typeioc > IDynamicDependency

IDynamicDependency interface

Represents dynamic dependency interface

Signature:

export interface IDynamicDependency 

Properties

Property Type Description
factory Factory<{}> Specifies factory interface Factory to be used as substitution for factory registrations
factoryType {} Specifies factory type to be used as substitution for factory type registrations
factoryValue {} Specifies factory value to be used as substitution for factory value registrations
initializer Initializer<{}> Specifies an instance of initializer Initializer to be used during substitution initialization
named string Specifies a name to be used as substitution for named registrations
required boolean Specifies the necessity of the registration presence prior substitution. If required is true and no registration found, throws ResolutionError during resolution
service {} Specifies service value, registration to be substituted for