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 implementation was already registered and throw exception in this case
-
bool searchInSigletonsFirts = true#
Set service search strategy.
If set to true provider will search for service in singleton container first then in scoped
-
bool strongDestructionOrder = false#