Files
serein-flow/Workbench/ViewModels/MainViewModel.cs
fengjiayi 152077e9b5 1. 重新设计了Generate项目及相关特性的命名,避免与其他类型混淆。
2. 补充了部分注释。
3. 修改了删除容器节点时,容器内子节点未正确删除的问题。
2025-07-30 21:15:07 +08:00

33 lines
766 B
C#

using CommunityToolkit.Mvvm.ComponentModel;
using Serein.Workbench.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using System.Windows;
namespace Serein.Workbench.ViewModels
{
/// <summary>
/// 主视图模型
/// </summary>
public class MainViewModel : ObservableObject
{
private readonly IKeyEventService keyEventService;
/// <summary>
/// 主视图模型构造函数
/// </summary>
/// <param name="keyEventService"></param>
public MainViewModel(IKeyEventService keyEventService)
{
this.keyEventService = keyEventService;
}
}
}