Files
Shi.Ji e31d3560bb 添加 MX-PD-盘古 项目文件
将 MX-PD-盘古 - new 目录下的所有文件添加到主仓库
2026-05-18 11:43:09 +08:00

26 lines
565 B
C#

using Stylet;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MainShell.Recipe.Services
{
public interface IActiveRecipeService<T> : INotifyPropertyChanged
{
T Active { get; set; }
}
public class ActiveRecipeService<T> : PropertyChangedBase, IActiveRecipeService<T>
{
private T _active;
public T Active
{
get => _active;
set => SetAndNotify(ref _active, value);
}
}
}