Files
Shrlalgo.RvKits/AntdWpfDemo/ViewModels/ShellViewModel.cs
ShrlAlgo 4d35cadb56 更新
2025-07-11 09:20:23 +08:00

18 lines
420 B
C#

using Caliburn.Micro;
using System.Collections.Generic;
using System.ComponentModel.Composition;
namespace AntdWpfDemo.ViewModels
{
[Export(typeof(IShell))]
internal class ShellViewModel : Conductor<IScreen>.Collection.OneActive
{
[ImportingConstructor]
protected ShellViewModel([ImportMany] IEnumerable<IScreen> screens)
{
Items.AddRange(screens);
}
}
}