I am implementing a class using fody ImplementPropertyChanged:
[ImplementPropertyChanged]
public class Translator
{
public string this[string Text]
{
get
{
...
}
}
public void Invalidate()
{
OnPropertyChanged("item");
}
}
Visual Studio tells me, that OnPropertyChanged is not defined. I thought, that ImplementPropertyChanged would define it.
How can I manually trigger a property change? In this case the indexer property changed.