mirror of
https://github.com/riperiperi/FreeSO
synced 2026-08-13 20:26:13 -04:00
MPL per-file was used in older project files, but should apply to the whole project, so having it there was redundant.
24 lines
646 B
C#
24 lines
646 B
C#
using System.ComponentModel;
|
|
|
|
namespace FSO.Common.DataService.Framework
|
|
{
|
|
[DataServiceModel]
|
|
public abstract class AbstractModel : INotifyPropertyChanged, IModel
|
|
{
|
|
public bool ClientSourced;
|
|
public bool RequestDefaultData {
|
|
get; set;
|
|
} = false;
|
|
|
|
public event PropertyChangedEventHandler PropertyChanged;
|
|
|
|
protected void NotifyPropertyChanged(string name)
|
|
{
|
|
PropertyChangedEventHandler handler = PropertyChanged;
|
|
if (handler != null)
|
|
{
|
|
handler(this, new PropertyChangedEventArgs(name));
|
|
}
|
|
}
|
|
}
|
|
}
|