IocContainer class

Constructors

IocContainer()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

get<T>() → T
get class
getByName(String name) → dynamic
get class
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
register<T>(dynamic callback(IocContainer)) → void
register a class in ioc container
registerByName(String name, dynamic callback(IocContainer)) → void
register a class in ioc container
registerRequest(String name, Function callback) → void
register a request class in ioc container
registerSingleton<T>(dynamic callback(IocContainer)) → void
register as singleton in ioc container
toString() String
A string representation of this object.
inherited

Operators

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