public void CauseEvent(RAEventType type, RAEventArgs e = null) { _EventsToTriggerOnMainThread.Enqueue(new Tuple<RAEventType, RAEventArgs>(type, e)); }
public void UnregisterHandler(RAEventType type, EventHandler handler) { _SubscribedEvents.RemoveHandler(type.ToString(), handler); }
public void RegisterHandler(RAEventType type, EventHandler handler) { _SubscribedEvents.AddHandler(type.ToString(), handler); }
public void CauseEvent(RAEventType type, RAEventArgs e = null) { _EventsToTriggerOnMainThread.Enqueue(new Tuple <RAEventType, RAEventArgs>(type, e)); }