kontainer
/
de.peekandpoke.ultra.kontainer
/
InjectionType
Injection
Type
enum
InjectionType
:
Enum
<
InjectionType
>
Content copied to clipboard
Type of injection
Entries
Properties
Entries
Dynamic
Link copied to clipboard
Dynamic
()
Content copied to clipboard
A dynamic service is a singleton that only lives within a single kontainer instance
Prototype
Link copied to clipboard
Prototype
()
Content copied to clipboard
For a prototype service a new instance is created whenever it is injected
Singleton
Link copied to clipboard
Singleton
()
Content copied to clipboard
A singleton service is shared across multiple kontainer instances
Properties
name
Link copied to clipboard
val
name
:
String
Content copied to clipboard
ordinal
Link copied to clipboard
val
ordinal
:
Int
Content copied to clipboard