ServiceProviderOptions#

struct ServiceProviderOptions#

Options object used to configure service provider.

Public Members

bool strongDestructionOrder = false#

Set strong service destruction order.

If set to true service provider will destruct services in opposite order to construction.

bool prebuildSingletons = false#

Set prebuilds singletons.

If set to true when service provider is constructed it will also construct all singletons

bool checkServiceGlobalUniqueness = true#

Set global uniqueness check.

If set to true service provider will check if service was already registered