TypeBasedContainer

A decorating container that can provide for requested base class or interface, one implementor of those. This decorated will inherit following interfaces if and only if T also implements them:

  1. AliasAware!string
  2. FactoryLocator!ObjectFactory

Decorated container must implement following interfaces:

  1. Container
  2. Storage!(ObjectFactory, string)
  3. MutableDecorator!T
  4. Decorator!Container

Members

Aliases

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

Set which the type based container will decorate for T container.

Classes

TypeBasedContainer
class TypeBasedContainer
Undocumented in source.

Parameters

T

The decorated that switchable decorated will decorate.

Meta