设备初始化
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
using DeviceCommand.Base;
|
||||
using DeviceCommand.Device;
|
||||
using MainModule.Views;
|
||||
using System.Reflection;
|
||||
using UIShare.GlobalVariable;
|
||||
@@ -18,11 +20,6 @@ namespace MainModule
|
||||
containerRegistry.RegisterForNavigation<MainView>("MainView");
|
||||
containerRegistry.RegisterForNavigation<AutomatedTestingView>("AutomatedTestingView");
|
||||
containerRegistry.RegisterForNavigation<ProtocolStartView>("ProtocolStartView");
|
||||
// Scoped: one ScopedContext per container scope.
|
||||
// AutomatedTestingViewModel creates its own scope (IContainerExtension.CreateScope)
|
||||
// and resolves the 5 child VMs from it, so all siblings inside one parent share
|
||||
// the same ScopedContext, while different parents get isolated instances.
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user