Example #1
0
        private void Callback_Closing(object sender, EventArgs e)
        {
            var callBack = sender as IMessageCallBack;

            if (callBack == null)
            {
                return;
            }
            MessageServiceManager.RemoveSubscriber(callBack);
        }
Example #2
0
 public void Unsubscribe(string clientId)
 {
     MessageServiceManager.RemoveSubscriber(clientId);
 }