Exemplo n.º 1
0
 public void Add(AsyncEventHandler handlerDelegate, [CallerMemberName] string eventName = "")
 {
     WeakAsyncEventManagerExecutor.Add(eventName, handlerDelegate.Target, handlerDelegate.Method, _delegateWrapperDict);
 }
Exemplo n.º 2
0
 public void Add <TSender>(AsyncEventHandler <TSender> handlerDelegate, [CallerMemberName] string eventName = "") where TSender : class
 {
     WeakAsyncEventManagerExecutor.Add(eventName, handlerDelegate.Target, handlerDelegate.Method, _delegateWrapperDict);
 }