I've encountered the next piece of code:
protected bool SetProperty<T>(ref T backingStore, T value,[CallerMemberName] string propertyName = "", Action onChanged = null)
{
if (EqualityComparer<T>.Default.Equals(backingStore, value))
return false;
backingStore = value;
onChanged?.Invoke();
OnPropertyChanged(propertyName);
return true;
}
By this code, it is clear to see that every Action can call the method Invoke(). I wanted to read about this method in the documentation for Action and it's not there. I thought maybe it is in Delegate. It's not.
Where is this method?