App.xaml.cs (Prism)
Prism applicationのentry pointのようなもの 基本形
code:App.xaml.cs
using Prism.Ioc;
using System.Windows;
using Prism.Modularity;
namespace PrismFullApp
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App
{
ここまではほぼテンプレ
code:App.xaml.cs
protected override Window CreateShell() => this.Container.Resolve<Views.MainWindow>();
code:App.xaml.cs
protected override void RegisterTypes(IContainerRegistry containerRegistry) {};
code:App.xaml.cs
protected override void ConfigureModuleCatalog(IModuleCatalog moduleCatalog)
=> moduleCatalog.AddModule<Modules.ModuleName.ModuleNameModule>():
code:App.xaml.cs
}
}