Hi ev'one. Is it bug or i don't understand anything?
http://trac.puremvc.org/PureMVC_CSharp/browser/trunk/PureMVC/Patterns/Observer/Observer.cs62 public void NotifyObserver(INotification notification)
63 {
64 object context;
65 string method;
66
67 // Retrieve the current state of the object, then notify outside of our thread safe block
68 lock (m_syncRoot)
69 {
70 context = NotifyContext;
71
method = NotifyMethod;
72 }
73
74 Type t = context.GetType();
75 BindingFlags f = BindingFlags.Instance | BindingFlags.Public | BindingFlags.IgnoreCase;
76 MethodInfo mi = t.GetMethod(
NotifyMethod, f);
// did u mean local var 'method' here?77 mi.Invoke(context, new object[] { notification });
78 }