injected ~master (2016-08-11T06:02:17Z)
Dub
Repo
Container.provider
injected
container
Container
Register a provider using the type returned by
provider.providedType
.
void
provider
(Provider provider)
interface
Container
final
void
provider
(
Provider
provider
)
void
provider
(string name, Provider provider)
void
addProvider
(TypeInfo type, Provider provider)
void
addProvider
(TypeInfo type, string name, Provider provider)
Meta
Source
See Implementation
injected
container
Container
functions
addProvider
factory
provider
register
value
Register a provider using the type returned by provider.providedType.