コード例 #1
0
 public void RemoveHander(string key, QueueMessageDelegate <BoxMqttApplicationMessage> handler)
 {
     if (!_messageQueueDictionary.ContainsKey(key))
     {
         return;
     }
     _messageQueueDictionary[key]._messageChangedHandler -= handler;
 }
コード例 #2
0
 public void AddHander(string key, QueueMessageDelegate <BoxMqttApplicationMessage> handler)
 {
     AddQueueMessageOfIsNull(key);
     _messageQueueDictionary[key]._messageChangedHandler += handler;
 }