toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.inject
/
SingletonObjectProvider
Singleton
Object
Provider
class
SingletonObjectProvider
<
T
>
(
val
generator
:
Injector
.
(
)
->
T
)
:
ObjectProvider
<
T
>
Members
Constructors
Singleton
Object
Provider
Link copied to clipboard
constructor
(
generator
:
Injector
.
(
)
->
T
)
Properties
generator
Link copied to clipboard
val
generator
:
Injector
.
(
)
->
T
value
Link copied to clipboard
var
value
:
T
?
Functions
deinit
Link copied to clipboard
open
override
fun
deinit
(
)
get
Link copied to clipboard
open
override
fun
get
(
injector
:
Injector
)
:
T
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String