LogicalElementModule.cs 529 B

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