ScalaTime
trait Injector
trait DependencyPoolRef[LocalizedContainer]
class Object
trait Matchable
class Any
class ScalaTimeImpl
Type members
Classlikes
Value members
Concrete methods
Inherited methods
Create a container shade. You can't nest shading.
Create a container shade. You can't nest shading.
class A(value: String)
class B(a: A)
class C(b: B)
class D(c: C)
shade { implicit c =>
new BStub().index[B]()
inject[D].run // Use BStub in C in D
}
inject[D].run // Use A in B in C in D
- Type Params
- T
Result type
- Value Params
- ctx
Shaded container function.
- Inherited from
- Injector