public void RemoveListener(IFastMessageListener <T> listener) { listeners.Remove(listener); }
public static void AddListener <T>(IFastMessageListener <T> listener) where T : struct, IFastMessage { var publisher = GetPublisherForMessage <T>(); publisher.AddListener(listener); }
public void AddListener(IFastMessageListener <T> listener) { listeners.Add(listener); }