Releases: ValeryPonomarenko/ComponentsManager
Releases · ValeryPonomarenko/ComponentsManager
2.1.1
2.1.0
*InjectionManager
s have two new methods to find a component. The methods return null
if a component was not found and no exceptions are thrown.
// finds a component by type
XInjectionManager
.findComponentOrNull<SomeComponent>()
?.someMethod()
// finds a component by predicate
XInjectionManager
.findComponentOrNull { /* predicate */ }
?.someMethod()
The ComponentNotFoundException
class that is inside me.vponomarenko.injectionmanager.exeptions
package is deprecated, because the exeptions
was misspelled, so use ComponentNotFoundException
that is inside me.vponomarenko.injectionmanager.exceptions
package. The new ComponentNotFoundException
class is inherited from the old one.