using System.Windows; using Prism.Ioc; namespace ModernWpfPlayground { /// /// Interaction logic for App.xaml /// public partial class App { protected override void RegisterTypes(IContainerRegistry containerRegistry) { containerRegistry.Register(); containerRegistry.Register(); } protected override Window CreateShell() { return Container.Resolve(); } } }