pure_dependency.providers

Members

Classes

BaseGeneralSingleton
class BaseGeneralSingleton(Base)

Base class for non-reference singletons. Uses another provider to create the object.

Callable
class Callable(alias Function)

Non-reference provider that calls some function to create the provided object.

FixedObject
class FixedObject(alias obj)

Non-refernce provider that always returns the same object.

Provider
class Provider(Result_, Params_...)

Base class for non-reference providers.

ProviderWithDefaults
class ProviderWithDefaults(Base, ParamsType, alias defaults)

Create provider with defaults of type ParamsType.Regular from a provider Base.

ReferenceBaseGeneralSingleton
class ReferenceBaseGeneralSingleton(Base)

Base class for reference singletons. Uses another provider to create the object.

ReferenceCallable
class ReferenceCallable(alias Function)

Reference provider that calls some function to create the provided object.

ReferenceFixedObject
class ReferenceFixedObject(alias obj)

Refernce provider that always returns the same object.

ReferenceProvider
class ReferenceProvider(Result_, Params_...)

Base class for reference providers.

ReferenceThreadLocalCallableSingleton
class ReferenceThreadLocalCallableSingleton(alias Function)

Reference singleton provider that calls some function to create the provided object.

ReferenceThreadLocalSingleton
class ReferenceThreadLocalSingleton(Base)

Reference thread-local singleton.

ReferenceThreadSafeCallableSingleton
class ReferenceThreadSafeCallableSingleton(alias Function)

Reference singleton provider that calls some function to create the provided object.

ReferenceThreadSafeSingleton
class ReferenceThreadSafeSingleton(Base)

Reference thread-safe singleton.

ReferenceThreadUnsafeCallableSingleton
class ReferenceThreadUnsafeCallableSingleton(alias Function)

Reference singleton provider that calls some function to create the provided object.

ReferenceThreadUnsafeSingleton
class ReferenceThreadUnsafeSingleton(Base)

Reference thread-unsafe singleton.

ThreadLocalCallableSingleton
class ThreadLocalCallableSingleton(alias Function)

Non-reference singleton provider that calls some function to create the provided object.

ThreadLocalSingleton
class ThreadLocalSingleton(Base)

Non-reference thread-local singleton.

ThreadSafeCallableSingleton
class ThreadSafeCallableSingleton(alias Function)

Non-reference singleton provider that calls some function to create the provided object.

ThreadSafeSingleton
class ThreadSafeSingleton(Base)

Non-reference thread-safe singleton.

ThreadUnsafeCallableSingleton
class ThreadUnsafeCallableSingleton(alias Function)

Non-reference singleton provider that calls some function to create the provided object.

ThreadUnsafeSingleton
class ThreadUnsafeSingleton(Base)

Non-reference thread-unsafe singleton.

Meta