aermicioi.aedi.configurer.register.register

Provides an interface for registering components into containers.

Members

Functions

register
auto register(Storage!(ObjectFactory, string) storage, Locator!(Object, string) locator, string id)
auto register(ConfigurableContainer storage, string id)

Register a new factory for type T object into storage/DI container by id.

register
auto register(Storage!(ObjectFactory, string) storage, Locator!(Object, string) locator)
auto register(ConfigurableContainer storage)

Register a new factory for type Type object into storage/DI container by it's fully qualified name.

register
auto register(Storage!(ObjectFactory, string) storage, Locator!(Object, string) locator)

Register a new factory for type T object into storage/DI container by Interface fully qualified name.

register
auto register(R storageLocator, Locator!() locator, string id, string storageId)
auto register(R locator, string id, string storageId)

Register an object into a storage by storageId located in storageLocator.

register
auto register(R storageLocator, Locator!() locator, string storageId)
auto register(R locator, string storageId)

Register an object into a storage by storageId located in storageLocator with id being FQN of an Interface that object implements.

register
auto register(Storage!(Object, string) storage, Type data, string id)

Register data into an object storage.

register
auto register(Storage!(Object, string) storage, Type data)

Register data inta a object storage identified by it's type.

register
auto register(Storage!(Object, string) storage, Type data)

Register data into an object storage identified by implemented interface.

register
auto register(R locator, Type data, string id, string storageId)
auto register(R storage, Type object, string storageId)

Register data into an object storage located in locator by storageId.

registerInto
auto registerInto(R storageLocator, Locator!() locator, string storageId)
auto registerInto(R locator, string storageId)

Register an object into a storage by storageId located in storageLocator.

registerInto
auto registerInto(R locator, Type data, string storageId)

Register data into an object storage located in locator by storageId.

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