Пример #1
0
 public bool Equals(ComponentEvent ev)
 {
     if (ev == null)
     {
         return(false);
     }
     return(this.Id == ev.Id);
 }
Пример #2
0
 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);
             }
         }
     }
 }
Пример #3
0
 protected void NotifyListeners(ComponentEvent ev, object val)
 {
     ComponentListeners.NotifyListeners(ev, this, val);
 }