Files
ShrlAlgoToolkit/AntdWpfDemo/ViewModels/ShellViewModel.cs
2025-07-31 20:12:24 +08:00

18 lines
425 B
C#

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