typeioc

Home > typeioc > IResolveWith

IResolveWith interface

Represents fluent cascading interface for services resolution

Signature:

export interface IResolveWith<T> 

Methods

Method Description
args(args) Sets arguments for service instantiation
attempt() Sets attempted resolution flag indicating non disruptive resolution behavior (no exception is thrown when no registration found)
cache(name) Sets cached resolution flag. When resolved, resolution will be stored in cache
dependencies(dependencies) Sets dynamic dependencies for service resolution
exec() Executes service resolution
execAsync() Asynchronously executes service resolution
name(value) Sets named resolution flag. Service will be resolved given the name provided