InjectionType

enum InjectionType : Enum<InjectionType>

Type of injection

Entries

Dynamic
Link copied to clipboard
A dynamic service is a singleton that only lives within a single kontainer instance
Prototype
Link copied to clipboard
For a prototype service a new instance is created whenever it is injected
Singleton
Link copied to clipboard
A singleton service is shared across multiple kontainer instances

Properties

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int