CardIOViewModule.cs 525 B

123456789101112131415161718192021
  1. using CardIOView.Views;
  2. using Prism.Ioc;
  3. using Prism.Modularity;
  4. using Prism.Regions;
  5. namespace CardIOView
  6. {
  7. public class CardIOViewModule : IModule
  8. {
  9. public void OnInitialized(IContainerProvider containerProvider)
  10. {
  11. var regionManager = containerProvider.Resolve<RegionManager>();
  12. regionManager.RegisterViewWithRegion("ContentRegion", typeof(Views.CardIOView));
  13. }
  14. public void RegisterTypes(IContainerRegistry containerRegistry)
  15. {
  16. }
  17. }
  18. }