This branch adds an ability to explicitly specify tracked properties. Because a code based on naming conventions only may become too fragile.
public class Person : INotifyPropertyChanged
{
public string FirstName { get; set; }
public string LastName { get; set; }
[OnPropertyChanged(nameof(FirstName), nameof(LastName))]
public void OnNameChanged()
{
}
public event PropertyChangedEventHandler PropertyChanged;
}
This is an add-in for Fody
Injects INotifyPropertyChanged code into properties at compile time.