14 lines
No EOL
372 B
C#
14 lines
No EOL
372 B
C#
using System.ComponentModel;
|
|
|
|
namespace Tetris.ViewsModels;
|
|
|
|
public class ViewModel : INotifyPropertyChanged
|
|
{
|
|
public event PropertyChangedEventHandler PropertyChanged;
|
|
|
|
protected virtual void OnPropertyChanged(string propertyName)
|
|
{
|
|
if (PropertyChanged != null)
|
|
PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
|
}
|
|
} |