1
0
mirror of https://github.com/proxysu/ProxySU.git synced 2024-11-30 00:56:07 +03:00
ProxySU/ProxySU_Core/ViewModels/BaseViewModel.cs

21 lines
509 B
C#
Raw Normal View History

2021-02-25 04:59:06 +03:00
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace ProxySU_Core.ViewModels
{
2021-03-04 11:25:36 +03:00
public abstract class BaseViewModel : INotifyPropertyChanged
2021-02-25 04:59:06 +03:00
{
public event PropertyChangedEventHandler PropertyChanged;
public void Notify(string propertyName)
{
if (PropertyChanged != null)
{
PropertyChanged.Invoke(this, new PropertyChangedEventArgs(propertyName));
}
}
}
}