typeioc

Home > typeioc > IResolveWith > name

IResolveWith.name() method

Sets named resolution flag. Service will be resolved given the name provided

Signature:

name(value: string): ResolveWithName<T>;

Parameters

Parameter Type Description
value string the name for the service to be resolved with

Returns:

ResolveWithName<T>