along - multiple declarations

Function along

Use locator or storage as basis for registering components.

Context along(Context, alias T) (
  Context registrationContext,
  Storage!(ObjectFactory,string) storage
);

Context along(Context, alias T) (
  Context registrationContext,
  Locator!(Object,string) locator
);

Use locator or storage as basis for registering components.

Parameters

NameDescription
registrationContext context for which to set new configured storage, or used locator
storage store registered components into it.
locator locator of dependencies for registered components

Returns

RegistrationContext context with registration interface used to register components.

Function along

Use locator or storage as basis for registering components.

Context along(Context, alias T) (
  Context registrationContext,
  string storage
);

Use locator or storage as basis for registering components.

Parameters

NameDescription
registrationContext context for which to set new configured storage, or used locator
storage identity of a storage located in locator that should be used by registrationContext to store components.

Returns

RegistrationContext context with registration interface used to register components.