source
Retrieves an instance of the registered object of the specified type and qualifier
Return
The registered object
Parameters
type
The KClass of the object
Type Parameters
T
The type of the object to retrieve
Throws
if no instance is registered for the type
Retrieves an instance of the registered object under the CanvasKey
Return
The registered object
Parameters
key
the key the object is registered under
Type Parameters
T
the type of the registered object
Throws
if no instance is registered for the type