ProxyContainerImpl.set

Set factory in container by identity.

  1. ProxyContainerImpl set(ProxyObjectFactory factory, string identity)
  2. ProxyContainerImpl set(ObjectFactory element, string identity)
    class ProxyContainerImpl
    static if(is(T : Storage!(ObjectFactory, string)))
    set

Parameters

identity string

identity of factory.

element ObjectFactory

factory that is to be saved in container.

Return: ProxyContainer decorating container.

Meta