1
0
Fork 0
mirror of https://github.com/proxysu/ProxySU.git synced 2025-04-05 06:43:36 +03:00
ProxySU/ProxySU_Core/ViewModels/BaseModel.cs
2021-02-25 09:59:06 +08:00

20 lines
505 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace ProxySU_Core.ViewModels
{
public abstract class BaseModel : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
public void Notify(string propertyName)
{
if (PropertyChanged != null)
{
PropertyChanged.Invoke(this, new PropertyChangedEventArgs(propertyName));
}
}
}
}