ResolvingContext<T> class

Inheritance
Available extensions

Constructors

ResolvingContext(DiContainer container)

Properties

container → DiContainer
final
hashCode → int
The hash code for this object.
no setterinherited
resolver → Resolver<T>
Root resolver
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

asSingleton() → ResolvingContext<T>

Available on ResolvingContext<T>, provided by the LifetimeResolvingMethods extension

from<TImpl extends T>(TImpl factory()) → ResolvingContext<T>

Available on ResolvingContext<T>, provided by the CreatingResolvingMethods extension

from(T factory(TArgs)) → ResolvingContext<CustomFactory<T, TArgs>>

Available on ResolvingContext<CustomFactory<T, TArgs>>, provided by the CustomFactoriesMethods extension

from1<T1>(T factory(T1)) → ResolvingContext<T>

Available on ResolvingContext<T>, provided by the CreatingResolvingMethods extension

Create factory resolver with 1 dependency from container
from1<T1>(T factory(T1, TArgs)) → ResolvingContext<CustomFactory<T, TArgs>>

Available on ResolvingContext<CustomFactory<T, TArgs>>, provided by the CustomFactoriesMethods extension

from2<T1, T2>(T factory(T1, T2)) → ResolvingContext<T>

Available on ResolvingContext<T>, provided by the CreatingResolvingMethods extension

Create factory resolver with 2 dependencies from container
from2<T1, T2>(T factory(T1, T2, TArgs)) → ResolvingContext<CustomFactory<T, TArgs>>

Available on ResolvingContext<CustomFactory<T, TArgs>>, provided by the CustomFactoriesMethods extension

from3<T1, T2, T3>(T factory(T1, T2, T3)) → ResolvingContext<T>

Available on ResolvingContext<T>, provided by the CreatingResolvingMethods extension

Create factory resolver with 3 dependencies from container
from3<T1, T2, T3>(T factory(T1, T2, T3, TArgs)) → ResolvingContext<CustomFactory<T, TArgs>>

Available on ResolvingContext<CustomFactory<T, TArgs>>, provided by the CustomFactoriesMethods extension

from4<T1, T2, T3, T4>(T factory(T1, T2, T3, T4)) → ResolvingContext<T>

Available on ResolvingContext<T>, provided by the CreatingResolvingMethods extension

Create factory resolver with 4 dependencies from container
from4<T1, T2, T3, T4>(T factory(T1, T2, T3, T4, TArgs)) → ResolvingContext<CustomFactory<T, TArgs>>

Available on ResolvingContext<CustomFactory<T, TArgs>>, provided by the CustomFactoriesMethods extension

from5<T1, T2, T3, T4, T5>(T factory(T1, T2, T3, T4, T5)) → ResolvingContext<T>

Available on ResolvingContext<T>, provided by the CreatingResolvingMethods extension

Create factory resolver with 5 dependencies from container
from5<T1, T2, T3, T4, T5>(T factory(T1, T2, T3, T4, T5, TArgs)) → ResolvingContext<CustomFactory<T, TArgs>>

Available on ResolvingContext<CustomFactory<T, TArgs>>, provided by the CustomFactoriesMethods extension

from6<T1, T2, T3, T4, T5, T6>(T factory(T1, T2, T3, T4, T5, T6)) → ResolvingContext<T>

Available on ResolvingContext<T>, provided by the CreatingResolvingMethods extension

Create factory resolver with 6 dependencies from container
from6<T1, T2, T3, T4, T5, T6>(T factory(T1, T2, T3, T4, T5, T6, TArgs)) → ResolvingContext<CustomFactory<T, TArgs>>

Available on ResolvingContext<CustomFactory<T, TArgs>>, provided by the CustomFactoriesMethods extension

from7<T1, T2, T3, T4, T5, T6, T7>(T factory(T1, T2, T3, T4, T5, T6, T7)) → ResolvingContext<T>

Available on ResolvingContext<T>, provided by the CreatingResolvingMethods extension

Create factory resolver with 7 dependencies from container
from7<T1, T2, T3, T4, T5, T6, T7>(T factory(T1, T2, T3, T4, T5, T6, T7, TArgs)) → ResolvingContext<CustomFactory<T, TArgs>>

Available on ResolvingContext<CustomFactory<T, TArgs>>, provided by the CustomFactoriesMethods extension

from8<T1, T2, T3, T4, T5, T6, T7, T8>(T factory(T1, T2, T3, T4, T5, T6, T7, T8)) → ResolvingContext<T>

Available on ResolvingContext<T>, provided by the CreatingResolvingMethods extension

Create factory resolver with 8 dependencies from container
from8<T1, T2, T3, T4, T5, T6, T7, T8>(T factory(T1, T2, T3, T4, T5, T6, T7, T8, TArgs)) → ResolvingContext<CustomFactory<T, TArgs>>

Available on ResolvingContext<CustomFactory<T, TArgs>>, provided by the CustomFactoriesMethods extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve() → T
Resolves dependency of type T
override
toResolver<TImpl extends T>(Resolver<TImpl> resolver) → ResolvingContext<T>
Adds resolver as a root resolver. Through this method you can add any custom resolver
toString() → String
A string representation of this object.
inherited
toValue<TImpl extends T>(TImpl value) → ResolvingContext<T>

Available on ResolvingContext<T>, provided by the CreatingResolvingMethods extension

Create value resolver
verify() → void
withDispose(void dispose(T)) → ResolvingContext<CustomFactory<T, TArgs>>

Available on ResolvingContext<CustomFactory<T, TArgs>>, provided by the CustomFactoriesResolvingLifeTimeMethods extension

Set dispose method for every created object with CustomFactory, (Will be disposed when container was disposed)
withDispose(void dispose(T)) → ResolvingContext<T>

Available on ResolvingContext<T>, provided by the LifetimeResolvingMethods extension

Operators

operator ==(Object other) → bool
The equality operator.
inherited