freeso/TSOClient/FSO.Server.DataService/Framework/AbstractModel.cs
riperiperi b57ebbd141 Cleanup: Remove most unused usings and MPL per-file licenses
MPL per-file was used in older project files, but should apply to the whole project, so having it there was redundant.
2023-11-25 03:45:29 +00:00

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));
}
}
}
}