ServiceLifeTime#
-
class ServiceLifeTime#
Public Types
Public Functions
-
ServiceLifeTime(ServiceLifeTime&&) = default#
-
ServiceLifeTime(const ServiceLifeTime&) = default#
-
ServiceLifeTime &operator=(ServiceLifeTime&&) = default#
-
ServiceLifeTime &operator=(const ServiceLifeTime&) = default#
-
bool isSingleton() const#
checks if lifetime is singleton
-
bool isScoped() const#
checks if lifetime is scoped
-
bool isTransient() const#
checks if lifetime is transient
-
bool operator!=(const ServiceLifeTime &scope) const#
-
bool operator==(const ServiceLifeTime &scope) const#
Public Static Functions
-
static ServiceLifeTime singleton()#
creates singleton service lifetime
-
static ServiceLifeTime scoped()#
creates scoped service lifetime
-
static ServiceLifeTime transient()#
creates transient service lifetime
-
ServiceLifeTime(ServiceLifeTime&&) = default#