Type

enum Type : Enum<ServiceProvider.Type>

Ways in which services are provided.

This is mostly used for debugging and testing.

Entries

Link copied to clipboard

Like Dynamic singletons, but these are overriding dynamics while creating a Kontainer from a Blueprint

Link copied to clipboard

Dynamic singletons are explicitly defined as dynamic and live only within a single Kontainer instance

Link copied to clipboard

Semi Dynamic singletons are not defined as dynamic but inject dynamic services

Link copied to clipboard

Prototype service are instantiate for each injection

Link copied to clipboard

Pure singleton services are shared across multiple Kontainer instances

Properties

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