public bool Equals(ComponentEvent ev) { if (ev == null) { return(false); } return(this.Id == ev.Id); }
public void NotifyListeners(ComponentEvent ev, Component component, object val) { lock (Owners) { foreach (List <ComponentListenerDelegate> group in Owners.Values) { foreach (ComponentListenerDelegate d in group) { d(ev, component, val); } } } }
protected void NotifyListeners(ComponentEvent ev, object val) { ComponentListeners.NotifyListeners(ev, this, val); }