2023-03-12 12:32:26 +01:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
2023-03-26 23:01:58 +02:00
|
|
|
|
namespace TimetableDesigner.Customs
|
2023-03-12 12:32:26 +01:00
|
|
|
|
{
|
2023-03-26 23:01:58 +02:00
|
|
|
|
public class ObservableObject : INotifyPropertyChanged
|
2023-03-12 12:32:26 +01:00
|
|
|
|
{
|
2023-03-26 23:01:58 +02:00
|
|
|
|
#region PRIVATE METHODS
|
2023-03-12 12:32:26 +01:00
|
|
|
|
|
|
|
|
|
|
protected void NotifyPropertyChanged(string propertyName) => PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region EVENTS
|
|
|
|
|
|
|
|
|
|
|
|
public event PropertyChangedEventHandler? PropertyChanged;
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|