Example #1
0
 public void RemoveCallback(OnMessageReceivedCallback <T> callback)
 {
     lock (callbackLock)
     {
         dispatcher = dispatcher.RemoveCallback(callback);
     }
 }
Example #2
0
 public void RemoveAllCallbacks()
 {
     dispatcher = dispatcher.RemoveAllCallbacks();
 }
Example #3
0
 public PrivateMessageCallbackHelper(OnMessageReceivedCallback <T> initializingCallback)
 {
     dispatcher = OnMessageReceivedCallbackDispatcherBase <T> .Create(initializingCallback);
 }