public EventConsumerGeneric(EventSourceGeneric sourceGeneric) { sourceGeneric.theEvent += new EventHandler <EventArgs>(source_theEvent).MakeWeak((e) => sourceGeneric.theEvent -= e); }
public EventConsumerGeneric(EventSourceGeneric sourceGeneric) { sourceGeneric.theEvent += new EventHandler<EventArgs>(source_theEvent).MakeWeak((e) => sourceGeneric.theEvent -= e); }