You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using Prism.Ioc;
|
|
|
|
|
using Prism.Modularity;
|
|
|
|
|
using StartServerWPF.Modules.Main;
|
|
|
|
|
using StartServerWPF.Views;
|
|
|
|
|
using System.Windows;
|
|
|
|
|
|
|
|
|
|
namespace StartServerWPF
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Interaction logic for App.xaml
|
|
|
|
|
/// </summary>
|
|
|
|
|
public partial class App
|
|
|
|
|
{
|
|
|
|
|
protected override Window CreateShell()
|
|
|
|
|
{
|
|
|
|
|
return Container.Resolve<MainWindow>();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override void RegisterTypes(IContainerRegistry containerRegistry)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override void ConfigureModuleCatalog(IModuleCatalog moduleCatalog)
|
|
|
|
|
{
|
|
|
|
|
moduleCatalog.AddModule<MainModule>();
|
|
|
|
|
base.ConfigureModuleCatalog(moduleCatalog);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|