SubscribableContainer

Decorating container that adds a set of events at different actions during lifetime of a container to which subscribers can subscribe to. This decorated will inherit following interfaces only and only if the T also implements them:

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

Decorated container must implement following interfaces:

  1. Container
  2. MutableDecorator!T
  3. Subscribable!ContainerInstantiationEventType
  4. Decorator!Container

Members

Aliases

InheritanceSet
alias InheritanceSet = NoDuplicates!(Filter!(templateOr!(partialSuffixed!(isDerived, Storage!(ObjectFactory, string)), partialSuffixed!(isDerived, AliasAware!string), partialSuffixed!(isDerived, FactoryLocator!ObjectFactory)), InterfacesTuple!T), Container, Subscribable!(ContainerInstantiationEventType, void delegate() @(safe)), Subscribable!(ContainerInstantiationEventType, void delegate(SubscribableContainer!T container) @(safe)), Subscribable!(ContainerTerminationEventType, void delegate() @(safe)), Subscribable!(ContainerTerminationEventType, void delegate(SubscribableContainer!T container) @(safe)), Subscribable!(ContainerFactoryEventType, void delegate(ObjectFactory factory, string) @(safe)), Subscribable!(ContainerAccessEventType, void delegate(Optional!Object component, Optional!string key) @(safe)), Subscribable!(ContainerCheckEventType, void delegate(Optional!bool existence, Optional!string key) @(safe)), Decorator!Container)

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

Classes

SubscribableContainer
class SubscribableContainer
Undocumented in source.

Parameters

T

The decorated that switchable decorated will decorate.

Meta