-
-
Notifications
You must be signed in to change notification settings - Fork 0
Property injection
Osama Raddad edited this page Jun 21, 2022
·
1 revision
you can inject properties by using the warehouse delegate inject()
and you can inject named dependencies by adding the annotation @Named("name")
on the property
private val name: Name by warehouseX()
or
@Named("name")
private val name: Name by warehouseX()