grumpydev / TinyMessenger

A lightweight event aggregator/messenger for loosely coupled communication.
Microsoft Public License
284 stars 72 forks source link

PCL not well supported #2

Open hugoterelle opened 11 years ago

hugoterelle commented 11 years ago

When using Portable Class library (PCL), some features are not available On line 747, you have

 currentlySubscribed.ForEach(sub => currentSubscriptions.Remove(sub)); 

Which does not exists in PCL.

You have to use:

 foreach (var sub in currentlySubscribed) currentSubscriptions.Remove(sub);

Greetings, Hugo

slodge commented 11 years ago

Pull sent - https://github.com/grumpydev/TinyMessenger/pull/3

nganbread commented 7 years ago

Usages of GetMethod() and IsAssignableFrom() also need to be updated