public void Register(Signal signal, EventTarget.TDelegate deleg) { EventTarget triggers = null; if (!_eventTable.ContainsKey(signal)) { triggers = new EventTarget(); _eventTable.Add(signal, triggers); } else { triggers = _eventTable[signal]; } triggers.RegisterEvent(deleg); }
public void Notify(Signal signal) { EventTarget triggers = _eventTable[signal]; triggers.TriggerEvent(); }