Type

enum Type : Enum<ServiceProvider.Type>

Ways in which services are provided.

This is mostly used for debugging and testing.

Entries

DynamicOverride
Link copied to clipboard
Like Dynamic singletons, but these are overriding dynamics while creating a Kontainer from a Blueprint
Dynamic
Link copied to clipboard
Dynamic singletons are explicitly defined as dynamic and live only within a single Kontainer instance
SemiDynamic
Link copied to clipboard
Semi Dynamic singletons are not defined as dynamic but inject dynamic services
Prototype
Link copied to clipboard
Prototype service are instantiate for each injection
Singleton
Link copied to clipboard
Pure singleton services are shared across multiple Kontainer instances

Properties

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