Files
ADP/DeviceEditModule/DeviceEditModule.cs
2026-06-12 16:55:47 +08:00

23 lines
826 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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");
}
}
}