添加 MX-PD-盘古 项目文件
将 MX-PD-盘古 - new 目录下的所有文件添加到主仓库
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user