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 : INotifyPropertyChanged { T Active { get; set; } } public class ActiveRecipeService : PropertyChangedBase, IActiveRecipeService { private T _active; public T Active { get => _active; set => SetAndNotify(ref _active, value); } } }