default value for injected instance. It would be used if biding is not found in the Injector
.
identifiers
Helper method to make possible that "identified" follows "and" word.
Helper method to make possible that "identified" follows "and" word.
Example:
inject [Database] (by default defaultDb and identified by 'remote)
IdentifiedWord
that follows the "and"
Helper method to define a default value for injection.
Helper method to define a default value for injection.
Example:
inject [Database] ('database and by default defaultDb)
ByWord
that follows the "and"
Appends identifier to a current list of identifiers.
Appends identifier to a current list of identifiers.
one or many other identifiers
default value for injected instance.
default value for injected instance. It would be used if biding is not found in the Injector
.
identifiers
Alias to "and"
Alias to "and"
Example:
inject [Database] ('remote is by default defaultDb)
ByWord
that follows the "is"
Alias to "and"
Alias to "and"
Example:
inject [Database] ('remote that by default defaultDb)
ByWord
that follows the "that"
Alias to "and"
Alias to "and"
Example:
inject [Database] ('remote which by default defaultDb)
ByWord that follows the "which"
A wrapper for a default value for the injection and for its identifiers.
It is here to make injection constraints look like natural language.
type of the dependency being injected
default value for injected instance. It would be used if biding is not found in the
Injector
.identifiers