LocatorMixin

Mix in locator interface implementation that delegates the logic to decorated container.

  1. mixintemplate LocatorMixin(T : Locator!(W, X), W, X)
  2. mixintemplate LocatorMixin(W, X)
    @safe
    mixin template LocatorMixin (
    W
    X
    ) {}

Members

Functions

get
W get(X key)

Get object created by a factory identified by key

has
bool has(X key)

Check if an object factory for it exists in container.

Meta