Ejemplo n.º 1
0
 /// <summary> Add a function to existed event. </summary>
 /// <param name="_topicName"> Topic name. </param>
 /// <param name="_function"> Method or lambda expression. </param>
 public static void AddListener <A, B>(Enum _topicName, Implementation.EventManager.CustomDelegate <A, B> _function)
 {
     EventManagerInstance.AddListener(_topicName, _function);
 }
Ejemplo n.º 2
0
 /// <summary> Add a function to existed event. </summary>
 /// <param name="_topicName"> Topic name. </param>
 /// <param name="_function"> Method or lambda expression. </param>
 public static void AddListener(string _topicName, Implementation.EventManager.CustomDelegate _function)
 {
     EventManagerInstance.AddListener(_topicName, _function);
 }
Ejemplo n.º 3
0
 /// <summary> Remove a function to existed event. </summary>
 /// <param name="_topicName"> Topic name. </param>
 /// <param name="_function"> Method to be removed. </param>
 public static void RemoveListener <A, B, C, D, E>(string _topicName, Implementation.EventManager.CustomDelegate <A, B, C, D, E> _function)
 {
     EventManagerInstance.RemoveListener(_topicName, _function);
 }
Ejemplo n.º 4
0
 /// <summary> Remove a function to existed event. </summary>
 /// <param name="_topicName"> Topic name. </param>
 /// <param name="_function"> Method to be removed. </param>
 public static void RemoveListener(Enum _topicName, Implementation.EventManager.CustomDelegate _function)
 {
     EventManagerInstance.RemoveListener(_topicName, _function);
 }