Function SingletonContainer.getFactory

Get factory for constructed data identified by identity.

Factory!(Object) getFactory (
  string identity
);

Get factory for constructed data identified by identity.

Parameters

NameDescription
identity the identity of data that factory constructs.

Throws

NotFoundException when factory for it is not found.

Returns

ObjectFactory the factory for constructed data.