SetNamedDSL

izumi.distage.model.definition.dsl.ModuleDefDSL$.SetNamedDSL
final class SetNamedDSL[T](val mutableState: SetRef) extends SetDSLMutBase[T]

Attributes

Graph
Supertypes
trait SetDSLMutBase[T]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

final def add[I <: T](function: Functoid[I])(implicit pos: CodePositionMaterializer): AfterAdd

Attributes

Inherited from:
SetDSLBase
final def add[I <: T : Tag](function: => I)(implicit evidence$28: Tag[I], pos: CodePositionMaterializer): AfterAdd

Attributes

Inherited from:
SetDSLBase
final def add[I <: T : ClassConstructor](implicit evidence$26: Tag[I], evidence$27: ClassConstructor[I], pos: CodePositionMaterializer): AfterAdd

Attributes

Inherited from:
SetDSLBase
final def addEffect[F[_] : Tag, I <: T : Tag](function: Functoid[F[I]])(implicit evidence$40: Tag[F], evidence$41: Tag[I], pos: CodePositionMaterializer): AfterAdd

Attributes

Inherited from:
SetDSLBase
final def addEffect[F[_] : Tag, I <: T : Tag](instance: F[I])(implicit evidence$38: Tag[F], evidence$39: Tag[I], pos: CodePositionMaterializer): AfterAdd

Attributes

Inherited from:
SetDSLBase
final def addFactory[I <: T : FactoryConstructor](implicit evidence$32: Tag[I], evidence$33: FactoryConstructor[I], pos: CodePositionMaterializer): AfterAdd

Attributes

See also:
Inherited from:
SetDSLBase
final def addResource[R0, R <: Lifecycle[LifecycleF, T]](function: Functoid[R0])(implicit adapt: Aux[R0, R], tag: LifecycleTag[R], pos: CodePositionMaterializer): AfterAdd

Attributes

Inherited from:
SetDSLBase
final def addResource[R](function: Functoid[R & Lifecycle[LifecycleF, T]])(implicit tag: LifecycleTag[R], pos: CodePositionMaterializer, d: DummyImplicit): AfterAdd

Attributes

Inherited from:
SetDSLBase
final def addResource[R](instance: R & Lifecycle[LifecycleF, T])(implicit tag: LifecycleTag[R], pos: CodePositionMaterializer): AfterAdd

Attributes

Inherited from:
SetDSLBase
final def addResource[R <: Lifecycle[LifecycleF, T] : ClassConstructor](implicit evidence$46: ClassConstructor[R], tag: LifecycleTag[R], pos: CodePositionMaterializer): AfterAdd

Attributes

Inherited from:
SetDSLBase
final def addSet[I <: Set[_ <: T]](function: Functoid[I])(implicit pos: CodePositionMaterializer): AfterMultiAdd

Attributes

Inherited from:
SetDSLBase
final def addSet[I <: Set[_ <: T] : Tag](function: => I)(implicit evidence$47: Tag[I], pos: CodePositionMaterializer): AfterMultiAdd

Add multiple values into this set at once

Add multiple values into this set at once

Example:

 class T

 many[T].addSet(Set(new T, new T, new T))

Attributes

Inherited from:
SetDSLBase
final def addSetValue[I <: Set[_ <: T] : Tag](instance: I)(implicit evidence$48: Tag[I], pos: CodePositionMaterializer): AfterMultiAdd

Attributes

Inherited from:
SetDSLBase
final def addTrait[I <: T : TraitConstructor](implicit evidence$30: Tag[I], evidence$31: TraitConstructor[I], pos: CodePositionMaterializer): AfterAdd

Attributes

See also:
Inherited from:
SetDSLBase
final def addValue[I <: T : Tag](instance: I)(implicit evidence$29: Tag[I], pos: CodePositionMaterializer): AfterAdd

Attributes

Inherited from:
SetDSLBase
final def ref[I <: T : Tag](name: Identifier)(implicit evidence$35: Tag[I], pos: CodePositionMaterializer): AfterAdd

Attributes

Inherited from:
SetDSLBase
final def ref[I <: T : Tag](implicit evidence$34: Tag[I], pos: CodePositionMaterializer): AfterAdd

Bind by reference to another bound key

Bind by reference to another bound key

Example:

 trait T
 trait T1 extends T

 make[T1]
 many[T].ref[T1]

Here, T1 will be created only once. A class that depends on Set[T] will receive a Set containing the same T1 instance as a class that depends on just a T1.

Attributes

Inherited from:
SetDSLBase
final def refEffect[F[_] : Tag, I <: T : Tag](name: Identifier)(implicit evidence$44: Tag[F], evidence$45: Tag[I], pos: CodePositionMaterializer): AfterAdd

Attributes

Inherited from:
SetDSLBase
final def refEffect[F[_] : Tag, I <: T : Tag](implicit evidence$42: Tag[F], evidence$43: Tag[I], pos: CodePositionMaterializer): AfterAdd

Attributes

Inherited from:
SetDSLBase
final def refResource[R <: Lifecycle[LifecycleF, T]](name: Identifier)(implicit tag: LifecycleTag[R], pos: CodePositionMaterializer): AfterAdd

Attributes

Inherited from:
SetDSLBase
final def refResource[R <: Lifecycle[LifecycleF, T]](implicit tag: LifecycleTag[R], pos: CodePositionMaterializer): AfterAdd

Attributes

Inherited from:
SetDSLBase
final def refSet[I <: Set[_ <: T] : Tag](name: Identifier)(implicit evidence$50: Tag[I], pos: CodePositionMaterializer): AfterAdd

Attributes

Inherited from:
SetDSLBase
final def refSet[I <: Set[_ <: T] : Tag](implicit evidence$49: Tag[I], pos: CodePositionMaterializer): AfterAdd

Attributes

Inherited from:
SetDSLBase
final def weak[I <: T : Tag](name: Identifier)(implicit evidence$37: Tag[I], pos: CodePositionMaterializer): AfterAdd

Attributes

Inherited from:
SetDSLBase
final def weak[I <: T : Tag](implicit evidence$36: Tag[I], pos: CodePositionMaterializer): AfterAdd

Add a Weak reference to I to the set

Add a Weak reference to I to the set

This set will contain the same object that is bound to make[I], but ONLY if some other - not garbage-collected - component in the object graph depends on I explicitly.

Attributes

See also:
Inherited from:
SetDSLBase
final def weakSet[I <: Set[_ <: T] : Tag](name: Identifier)(implicit evidence$52: Tag[I], pos: CodePositionMaterializer): AfterAdd

Attributes

Inherited from:
SetDSLBase
final def weakSet[I <: Set[_ <: T] : Tag](implicit evidence$51: Tag[I], pos: CodePositionMaterializer): AfterAdd

Add a Weak reference to Set[I] to the set

Add a Weak reference to Set[I] to the set

This set will contain all the elements of the Set bound at make[Set[I]], but ONLY if some other, not garbage-collected, component in the object graph depends on Set[I] explicitly.

Attributes

See also:
Inherited from:
SetDSLBase