TRX/tools/installer/TRX_InstallerLib/Utils/BaseNotifyPropertyChanged.cs
lahm86 e16fcda94b tools/installer: create common installer library
This creates a generic common installer WPF library for both games.
2025-03-30 12:34:54 +01:00

14 lines
423 B
C#

using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace TRX_InstallerLib.Utils;
public abstract class BaseNotifyPropertyChanged : INotifyPropertyChanged
{
public event PropertyChangedEventHandler? PropertyChanged;
public void NotifyPropertyChanged([CallerMemberName] string propertyName = "")
{
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
}
}