Stores condition for binding.
Stores condition for binding. Used for conditional binding
Option
with function returning condition
Retrieves stored binding's value, used during binding lookup during injection.
Retrieves stored binding's value, used during binding lookup during injection.
If equals to None
, binding is considered undefined
LifecycleManager
that will handle the destruction of the binding at the end of the lifecycle
Option
with binding's value (or None
if the binding is undefined)
Bindings with lifecycle should have BindingLifecycle
attached to them
Bindings with lifecycle should have BindingLifecycle
attached to them
BindingLifecycle
current binding's lifecycle
Specifies if binding is cacheable False by default
Specifies if binding is cacheable False by default
Boolean
true if binding is cacheable, false otherwise
Defines if binding is lazy or not False by default
Defines if binding is lazy or not False by default
Boolean
true if not lazy, false otherwise
Bindings with lifecycle may have initialization and destruction handlers