TypeBasedContainer.get

Get an object that is associated with identity.

Get an object that is associated with identity. If no object associated by identity in decorated container is found, a search for a solution in list of candidates is done, and if found, first candidate is used as substitution for serving the requested object.

class TypeBasedContainer
Object
get
(
string identity
)

Parameters

identity string

object identity in decorated.

Return Value

Type: Object

Object if it is available.

Throws

NotFoundException in case if no object was found.

Meta