设备编辑管理界面
This commit is contained in:
22
DeviceEditModule/DeviceEditModule.cs
Normal file
22
DeviceEditModule/DeviceEditModule.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using DeviceEditModule.ViewModels;
|
||||
using DeviceEditModule.Views;
|
||||
|
||||
namespace DeviceEditModule
|
||||
{
|
||||
public class DeviceEditModule : IModule
|
||||
{
|
||||
public void OnInitialized(IContainerProvider containerProvider)
|
||||
{
|
||||
}
|
||||
|
||||
public void RegisterTypes(IContainerRegistry containerRegistry)
|
||||
{
|
||||
// DialogMangerView 作为弹窗宿主,注册为 Dialog(支持 _dialogService.Show)
|
||||
containerRegistry.RegisterDialog<DialogMangerView, DialogMangerViewModel>("DialogMangerView");
|
||||
|
||||
// 设备编辑 View 注册为 Navigation(被动态解析后作为 Tab 内容嵌入 DialogMangerView)
|
||||
containerRegistry.RegisterForNavigation<IT7800EView>("IT7800EView");
|
||||
containerRegistry.RegisterForNavigation<N36200View>("N36200View");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user