How is PropertyChangedEventHandler used? Can you tell me what this bit of code is in the class "Initalization Method"? In the project we are working on, there is a class that has a private initialization method. And there is some code in this method that I want to discuss.
But first let me describe the class. A class is defined as something like this: public class Skoobie: BaseThingy, ISkoobie
So this means that the Skoobie class has two parents from whom it inherits. What are all the consequences of this?
Anyway, the Initalize method looks something like this:
private void Initialize()
{
this.PropertyChanged += (o, e) =>
{
If (e != null)
{
// some stuff is done
}
};
}
Now, "PropertyCHanged" is a member of the parent class "BaseThingy", which is defined as follows:
PropertyChangedEventHandler PropertyChanged;
this.PropertyChanged + = (o, e) = > ... ? LINQ thingy?