2025-03-18 21:01:15 +08:00
|
|
|
|
using CommunityToolkit.Mvvm.ComponentModel;
|
2025-05-27 18:32:40 +08:00
|
|
|
|
using Serein.Workbench.Services;
|
2025-03-18 21:01:15 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
2025-05-27 18:32:40 +08:00
|
|
|
|
using System.Windows.Input;
|
|
|
|
|
|
using System.Windows;
|
2025-03-18 21:01:15 +08:00
|
|
|
|
|
|
|
|
|
|
namespace Serein.Workbench.ViewModels
|
|
|
|
|
|
{
|
|
|
|
|
|
public class MainViewModel : ObservableObject
|
|
|
|
|
|
{
|
2025-05-27 18:32:40 +08:00
|
|
|
|
private readonly IKeyEventService keyEventService;
|
|
|
|
|
|
|
|
|
|
|
|
public MainViewModel(IKeyEventService keyEventService)
|
2025-03-18 21:01:15 +08:00
|
|
|
|
{
|
|
|
|
|
|
|
2025-05-27 18:32:40 +08:00
|
|
|
|
this.keyEventService = keyEventService;
|
2025-03-18 21:01:15 +08:00
|
|
|
|
}
|
2025-05-27 18:32:40 +08:00
|
|
|
|
|
|
|
|
|
|
|
2025-03-18 21:01:15 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|