injected ~master (2016-08-11T06:02:17Z)
Dub
Repo
SimpleContainer.addProvider
injected
container
SimpleContainer
Undocumented in source.
void
addProvider
(TypeInfo info, Provider provider)
void
addProvider
(TypeInfo info, string name, Provider provider)
class
SimpleContainer
protected pure
void
addProvider
(
TypeInfo
info
,
string
name
,
Provider
provider
)
out { assert (info in providers); assert (name in providers[info].namedProviders); assert (providers[info].mainProvider); }
Meta
Source
See Implementation
injected
container
SimpleContainer
constructors
this
functions
addProvider
canResolve
withResolvedPtr