public void AddUiEventInterest(string key, Action <object> action) { if (UiEventsMap.ContainsKey(key)) { UiEventsMap[key] += action; } else { UiEventsMap.Add(key, action); MyView.AddUiEventListener(key, this); } }
public void AddUiEventInterest(string key, Action <object> action) { if (UiEventsMap.ContainsKey(key)) { UiEventsMap[key] += action; } else { UiEventsMap.Add(key, action); MyView.AddUiEventListener(key, this); } }