ComponentResolver class

The default fmvvm dependency injection/IoC implementation.

Constructors

ComponentResolver()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

completeRegistration() → void
This method should be called when using dependency injection frameworks that require a completion function to be called after all registrations are complete.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
registerInstance<T>(T instance) → void
Registers an instance of an object of the generic type. [...]
registerType<T>([Function factoryMethod]) → void
Registers a type that can be resolved. [...]
resetRegistrations() → void
Removes all registrations from the dependency injection container.
resolve(Type targetType) Object
Resolve a type registered with the contianer specified by targetType.
resolveType<T>() → T
Resolve a type registered with the contianer specified by a generic type.
toString() String
A string representation of this object. [...]
inherited

Operators

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