最初阶段

This commit is contained in:
“hsc”
2026-10-14 16:45:58 +08:00
parent 59d0c24deb
commit a2a62a0327
14 changed files with 1520 additions and 1 deletions
+19
View File
@@ -0,0 +1,19 @@
using System.Reflection;
using UpdateInfoModule.Views;
namespace UpdateInfoModule
{
public class TSMasterXCPModule : IModule
{
public void OnInitialized(IContainerProvider containerProvider)
{
IRegionManager regionManager = containerProvider.Resolve<IRegionManager>();
regionManager.RegisterViewWithRegion("ShellViewManager", typeof(TSMasterXCPView));
}
public void RegisterTypes(IContainerRegistry containerRegistry)
{
containerRegistry.RegisterForNavigation<TSMasterXCPView>("TSMasterXCPView");
}
}
}