private void register <EventData>() where EventData : ITezEventData { EventID <EventData> .setID(m_Listeners.Count); m_Listeners.Add(new Dictionary <object, TezEventExtension.Action <ITezEventData> >()); }