28 lines
671 B
C#
28 lines
671 B
C#
|
using System.Windows;
|
|||
|
using MainApplication.Views;
|
|||
|
using ModuleA;
|
|||
|
using ModuleB;
|
|||
|
|
|||
|
namespace MainApplication;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Interaction logic for App.xaml
|
|||
|
/// </summary>
|
|||
|
public partial class App : PrismApplication
|
|||
|
{
|
|||
|
protected override void RegisterTypes(IContainerRegistry containerRegistry)
|
|||
|
{
|
|||
|
}
|
|||
|
|
|||
|
protected override Window CreateShell()
|
|||
|
{
|
|||
|
return Container.Resolve<MainView>();
|
|||
|
}
|
|||
|
|
|||
|
protected override void ConfigureModuleCatalog(IModuleCatalog moduleCatalog)
|
|||
|
{
|
|||
|
moduleCatalog.AddModule<ModuleAProfile>();
|
|||
|
moduleCatalog.AddModule<ModuleBProfile>();
|
|||
|
base.ConfigureModuleCatalog(moduleCatalog);
|
|||
|
}
|
|||
|
}
|