Packagepotomac.inject
Interfacepublic interface INamer extends ILinker, IScoper

An INamer allows injectable bindings to be associated with a textual name.



Public Methods
 MethodDefined By
 Inherited
Sets the injection binding as a singleton.
IScoper
  
named(name:String):ILinker
Links an injectable to the given name.
INamer
 Inherited
toClass(clazz:Class):IScoper
Links an injectable to the given class.
ILinker
 Inherited
toInstance(instance:Object):void
Links the injectable to the given instance.
ILinker
 Inherited
toProvider(providerClass:Class):IScoper
Links an injectable to the given provider.
ILinker
 Inherited
Links an injectable to the given provider.
ILinker
Method Detail
named()method
public function named(name:String):ILinker

Links an injectable to the given name.

Parameters

name:String — name to link injectable to

Returns
ILinker — an ILinker to allow further injectable linking details