예제 #1
0
 public void CauseEvent(RAEventType type, RAEventArgs e = null)
 {
     _EventsToTriggerOnMainThread.Enqueue(new Tuple<RAEventType, RAEventArgs>(type, e));
 }
예제 #2
0
 public void UnregisterHandler(RAEventType type, EventHandler handler)
 {
     _SubscribedEvents.RemoveHandler(type.ToString(), handler);
 }
예제 #3
0
 public void RegisterHandler(RAEventType type, EventHandler handler)
 {
     _SubscribedEvents.AddHandler(type.ToString(), handler);
 }
예제 #4
0
 public void CauseEvent(RAEventType type, RAEventArgs e = null)
 {
     _EventsToTriggerOnMainThread.Enqueue(new Tuple <RAEventType, RAEventArgs>(type, e));
 }
예제 #5
0
 public void UnregisterHandler(RAEventType type, EventHandler handler)
 {
     _SubscribedEvents.RemoveHandler(type.ToString(), handler);
 }
예제 #6
0
 public void RegisterHandler(RAEventType type, EventHandler handler)
 {
     _SubscribedEvents.AddHandler(type.ToString(), handler);
 }