aermicioi.aedi.configurer.register.context

Members

Functions

along
RegistrationContext!Policies along(RegistrationContext!Policies context, Storage!(ObjectFactory, string) storage)
RegistrationContext!Policies along(RegistrationContext!Policies context, Locator!(Object, string) locator)
RegistrationContext!Policies along(RegistrationContext!Policies context, RCIAllocator allocator)

Use locator/storage/allocator as basis for registering components.

along
RegistrationContext!Policies along(RegistrationContext!Policies context, string storage)

Use storage as basis for registering components.

applying
RegistrationContext!(Policies, Policy) applying(RegistrationContext!Policies context)
RegistrationContext!(Policies[0..at], Policy, Policies[at..$]) applying(RegistrationContext!Policies context)

Apply a policy after existing policies in a registration context, or at a position if specified.

configure
RegistrationContext!Policies configure(Storage!(ObjectFactory, string) storage, Locator!(Object, string) locator, RCIAllocator allocator)
RegistrationContext!Policies configure(Locator!(Object, string) locator, Storage!(ObjectFactory, string) storage, RCIAllocator allocator)
RegistrationContext!(GenericFactoryPolicy, WrappingFactoryPolicy, DeferredFactoryPolicy, RegistrationAwarePolicy, PersistingFactoryPolicy) configure(Storage!(ObjectFactory, string) storage, Locator!(Object, string) locator, RCIAllocator allocator)
RegistrationContext!(GenericFactoryPolicy, WrappingFactoryPolicy, DeferredFactoryPolicy, RegistrationAwarePolicy, PersistingFactoryPolicy) configure(Locator!(Object, string) locator, Storage!(ObjectFactory, string) storage, RCIAllocator allocator)

Start registering components using a storage and a locator.

configure
auto configure(T container, RCIAllocator allocator)

Start registering components using a container.

configure
RegistrationContext!Policies configure(Locator!(Object, string) locator, string storage, RCIAllocator allocator)

Start registering components using a storage and a locator.

configure
auto configure(Locator!(Object, string) locator, string storage, RCIAllocator allocator)
Undocumented in source. Be warned that the author may not have intended to support it.
configure
ValueRegistrationContext configure(Storage!(Object, string) storage)

Start registering instantiated components into a value container.

configureValueContainer
ValueRegistrationContext configureValueContainer(Locator!() locator, string storage)

Start registering instantiated components into a value container.

Structs

DeferredFactoryPolicy
struct DeferredFactoryPolicy
Undocumented in source.
GenericFactoryPolicy
struct GenericFactoryPolicy

Policy responsible for creation of generic factory that will create component T.

PersistingFactoryPolicy
struct PersistingFactoryPolicy

Policy responsible for persisting wrapper into storage by some identity.

RegistrationAwarePolicy
struct RegistrationAwarePolicy

Adds registration location information in component's factory for easier debugging.

RegistrationContext
struct RegistrationContext(Policies...)
Undocumented in source.
ValueRegistrationContext
struct ValueRegistrationContext

A registration interface for components already created.

WrappingFactoryPolicy
struct WrappingFactoryPolicy

Policy responsible for creation of factory wrapper suitable for storing into storage.

Meta

License

Boost Software License - Version 1.0 - August 17th, 2003

Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute, and transmit the Software, and to prepare derivative works of the Software, and to permit third-parties to whom the Software is furnished to do so, all subject to the following:

The copyright notices in the Software and this entire statement, including the above license grant, this restriction and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all derivative works of the Software, unless such copies or derivative works are solely in the form of machine-executable object code generated by a source language processor.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Authors

aermicioi