namespace WebDoorCreator.UI.Data { public class WDCRefreshService { #region Public Events public event Action EA_UpdDoorOp = null!; #endregion Public Events #region Public Properties //public Dictionary UserPref { get; set; } = new Dictionary(); public bool isDoorOpUpd { get => _isDoorOpUpd; set { if (_isDoorOpUpd != value) { _isDoorOpUpd = value; reportDoorOpUpd(); } } } #endregion Public Properties #region Protected Methods protected void reportDoorOpUpd() { if (EA_UpdDoorOp != null) { EA_UpdDoorOp?.Invoke(); } } #endregion Protected Methods #region Private Properties private bool _isDoorOpUpd { get; set; } = false; #endregion Private Properties } }