-
[Prism] RegisterC#/Prism 2023. 2. 7. 10:59
- Register says that the given service should be used when the given interface is injected, and that a new instance will be created for each single injection.
- RegisterSingleton differs in that the same instance is used for all injections.
- RegisterInstance is the same as RegisterSingleton, but you have to provide an instance.
728x90'C# > Prism' 카테고리의 다른 글
[Prism] Ioc, Container, DI (0) 2023.02.23 [Prism] DirectoryModuleCatalog (0) 2023.02.21 [Prism] Navigation view oneTime Instance (0) 2023.02.01 [Prism] RegionAdapter (0) 2023.02.01 [Prism] <Control> ContentRegion (0) 2023.02.01 댓글