mirror of
https://github.com/proxysu/ProxySU.git
synced 2025-04-02 13:26:16 +03:00
20 lines
509 B
C#
20 lines
509 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Text;
|
|
|
|
namespace ProxySU_Core.ViewModels
|
|
{
|
|
public abstract class BaseViewModel : INotifyPropertyChanged
|
|
{
|
|
public event PropertyChangedEventHandler PropertyChanged;
|
|
|
|
public void Notify(string propertyName)
|
|
{
|
|
if (PropertyChanged != null)
|
|
{
|
|
PropertyChanged.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
|
}
|
|
}
|
|
}
|
|
}
|