ChainedComponentStoringPolicy.store

Store component factory into multiple storages by using multiple policies.

struct ChainedComponentStoringPolicy(ComponentStoringPolicies...)
static
store
()
(,,
Storage!(Factory!Object, string) storage
)
if (
allSatisfy!(isComponentStoringPolicy, ComponentStoringPolicies)
)

Parameters

factory Factory!Object

component factory to be stored

locator Locator!()

locator that is used to fetch storage in case of @contained annotation

storage Storage!(Factory!Object, string)

storage were component is stored when no @contained annotation is provided

Meta