Class GenericConvertorContainer

An implementation of ConvertorContainer.

class GenericConvertorContainer(FromType, alias DefaultConvertorFactory) ;

Constructors

NameDescription
thisDefault constructor for GenericConvertorContainer!(FromType, DefaultConvertorFactory)

Methods

NameDescription
getGet a component that is associated with key.
getFactoriesGet all factories available in container.
getFactoryGet factory for constructed component identified by identity.
hasCheck if a component is present in Locator by key id.
instantiateSets up the internal state of container.
locatorSet locator
locatorGet locator of FromType data
removeRemove an convertor factory from GenericConvertorContainer with identity.
setSave a convertor factory in GenericConvertorContainer by key identity.

Parameters

NameDescription
FromType original form of data based on which components are constructed.
DefaultConvertorFactory convertor factory that is used by default in this container (used for some generic stuff)