LayersGraph class

Constructors

LayersGraph()

Properties

adjacencyList LinkedHashMap<AutoInjectorImpl, List<AutoInjectorImpl>>
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

executeInAllInjectors<T>(AutoInjectorImpl startInjector, T callback(AutoInjectorImpl)) → void
Execute callback in all the injectors.

NOTE: Algorithm based on BFS (breadth-first search)
getBindByClassName(AutoInjectorImpl startInjector, {required String className}) MapEntry<AutoInjectorImpl, Bind>?
Returns a MapEntry. The value is the found Bind and the key is the AutoInjectorImpl that have this bind.

NOTE: Algorithm based on BFS (breadth-first search)
getBindByKey(AutoInjectorImpl startInjector, {required String bindKey}) MapEntry<AutoInjectorImpl, Bind>?
Returns a MapEntry. The value is the found Bind and the key is the AutoInjectorImpl that have this bind.

NOTE: Algorithm based on BFS (breadth-first search)
getFirstInjectorWhere(AutoInjectorImpl startInjector, bool validation(AutoInjectorImpl)) → AutoInjectorImpl?
Returns the first injector that pass in the validation.

NOTE: Algorithm based on BFS (breadth-first search)
initialize(AutoInjectorImpl injector) → void
Fills the adjacencyList with this injector and its children tree.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
toString() String
A string representation of this object.
inherited

Operators

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