Files
ShrlAlgoToolkit/AntdWpfDemo/ViewModels/ShellViewModel.cs

18 lines
425 B
C#
Raw Normal View History

2025-07-11 09:20:23 +08:00
using Caliburn.Micro;
using System.Collections.Generic;
using System.ComponentModel.Composition;
2025-07-31 20:12:24 +08:00
namespace AntDesignWPFDemo.ViewModels
2025-07-11 09:20:23 +08:00
{
[Export(typeof(IShell))]
internal class ShellViewModel : Conductor<IScreen>.Collection.OneActive
{
[ImportingConstructor]
protected ShellViewModel([ImportMany] IEnumerable<IScreen> screens)
{
Items.AddRange(screens);
}
}
}