27 lines
587 B
C#
27 lines
587 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace TimetableDesigner.ViewModels.Base
|
|
{
|
|
public abstract class BaseViewModel : INotifyPropertyChanged
|
|
{
|
|
#region PROTECTED METHODS
|
|
|
|
protected void NotifyPropertyChanged(string propertyName) => PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
#region EVENTS
|
|
|
|
public event PropertyChangedEventHandler? PropertyChanged;
|
|
|
|
#endregion
|
|
}
|
|
}
|