This extension method, applied to the object class and then available for all classes, allows to raise any events via reflection, providing as parameters the event name (as a string) and the TEvenArgs generic parameter.
Example of use:
CustomerViewModel vm = new CustomerViewModel(); vm.Raise("PropertyChanged", new PropertyChangedEventArgs("Name"));