Esempio n. 1
0
 /// <summary>
 /// Removes the specified listener from the specified source object for the event being managed.
 /// </summary>
 /// <param name="source">The source object to remove listener from.</param>
 /// <param name="listener">The listener to remove.</param>
 private static void RemoveListener(TSource source, IEventListener <T> listener)
 {
     WeakEvent <TSource, T, TEvent> .ProtectedRemoveListener(source, listener);
 }
Esempio n. 2
0
 /// <summary>
 /// Removes the specified listener for the event being managed.
 /// </summary>
 /// <param name="listener">The listener to remove.</param>
 private static void RemoveListener(IEventListener <T> listener)
 {
     WeakEvent <T, TEvent> .ProtectedRemoveListener(listener);
 }