ProxyContainerImpl

Templated switchable container.

Templated switchable container. This container will decorate another container, and add switching logic to it. Depending in which state (on/off) the switching container is. It will instantiate if the container is on, and not if container is in off mode. This container will inherit following interfaces only and only if the T also implements them:

  1. Storage!(ObjectFactory, string)
  2. Container
  3. AliasAware!string

Members

Aliases

InheritanceSet
alias InheritanceSet = NoDuplicates!(Filter!(templateOr!(partialSuffixed!(isDerived, Storage!(ObjectFactory, string)), partialSuffixed!(isDerived, AliasAware!string), partialSuffixed!(isDerived, FactoryLocator!ObjectFactory)), InterfacesTuple!T), ProxyContainer, Decorator!Container)

Set which the switchable container will decorate for T. By default Locator!() and Switchable is included.

Classes

ProxyContainerImpl
class ProxyContainerImpl

Templated proxy container.

Parameters

T

The container that switchable container will decorate.

Meta