koin-core / org.koin.dsl / ScopeSet

ScopeSet

data class ScopeSet

DSL Scope Definition

Constructors

<init>

ScopeSet(qualifier: Qualifier)

DSL Scope Definition

Properties

definitions

val definitions: HashSet<BeanDefinition<*>>

qualifier

val qualifier: Qualifier

Functions

createDefinition

fun createDefinition(): ScopeDefinition

declareDefinition

fun <T> declareDefinition(definition: BeanDefinition<T>, options: Options): Unit

factory

fun <T> factory(qualifier: Qualifier? = null, override: Boolean = false, definition: Definition<T>): BeanDefinition<T>

scoped

fun <T> scoped(qualifier: Qualifier? = null, override: Boolean = false, definition: Definition<T>): BeanDefinition<T>

single

fun <T> single(qualifier: Qualifier? = null, override: Boolean = false, definition: Definition<T>): BeanDefinition<T>

toString

fun toString(): String