InjectionType

enum InjectionType : Enum<InjectionType>

Type of injection

Entries

Link copied to clipboard

A singleton service is shared across multiple kontainer instances

Link copied to clipboard

For a prototype service a new instance is created whenever it is injected

Link copied to clipboard

A dynamic service is a singleton that only lives within a single kontainer instance

Properties

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