ChainedStorageLocatorPolicy

A implementation storage locator policy that will apply other policies in chain until one provides a storage for storing data.

@safe
struct ChainedStorageLocatorPolicy (
StorageLocatorPolicies...
) if (
allSatisfy!(isStorageLocatorPolicy, StorageLocatorPolicies)
) {}

Members

Static functions

search
Storage!(Factory!Object, string) search(Factory!Object factory, Locator!() locator, Storage!(Factory!Object, string) storage)

Get default storage for component.

Meta