What does (e, v) =>
syntactically mean in C#?
e.g.,
TreeViewModel root = TreeViewModel.initializeRoot(parentStatus, statuses);
root.PropertyChanged += (e, v) => updateConditions();
I know that I'm registering to listen to property changes of the root object. And, if such an event happens, then I'm calling the updateConditions()
method. But, what is the (e, v) =>
in between?
And, is there are way to send the changed property as a parameter to updateConditions()
?