Pedro Francisco de Sousa Neto
module { singleOf(::ClassA) singleOf(::ClassB) singleOf(::ClassC) }
module { single<ClassA>{ ClassAImpl() } single<ClassB>{ ClassBImpl() } single<ClassC>{ ClassCImpl() } }
arnaud.giuliani
singleOf
Vlad
singleOf(::ClassAImp) { bind<ClassA>() }
Jacob Ras
module { singleOf(::ClassAImpl) bind ClassA::class }
ClassAImpl
ClassA
A modern programming language that makes developers happier.