Closed ytianxia6 closed 4 years ago
Hello, I want to know in Stylet, how to make a service as singleton and how to get it? In other mvvm framework, It's all as some function like registerSingleton, but in Stylet, I never found a function like this. what can i do?
I found the answer in wiki
https://github.com/canton7/Stylet/wiki/StyletIoC-Configuration#singleton-scope
Hello, I want to know in Stylet, how to make a service as singleton and how to get it? In other mvvm framework, It's all as some function like registerSingleton, but in Stylet, I never found a function like this. what can i do?
I found the answer in wiki