using Microsoft.Extensions.Options; using ReactiveUI; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AvaloniaApplication4.AdditionalModels { /// /// класс для создания объектов в панели меню /// public class MenuElement: ReactiveObject { private int idElement; private string? nameElement; public int IdElement { get => idElement; set => this.RaiseAndSetIfChanged(ref idElement, value); } public string? NameElement { get => nameElement; set => this.RaiseAndSetIfChanged(ref nameElement, value); } } }