Esempio n. 1
0
 /// <summary>The remove return listener.</summary>
 /// <param name="listener">The listener.</param>
 public void RemoveReturnListener(BasicReturnEventHandler listener)
 {
     if (this.returnListeners.Contains(listener))
     {
         this.returnListeners.Remove(listener);
         this.channelDelegate.BasicReturn -= listener;
     }
 }
 /// <summary>The remove return listener.</summary>
 /// <param name="listener">The listener.</param>
 public void RemoveReturnListener(BasicReturnEventHandler listener)
 {
     if (this.returnListeners.Contains(listener))
     {
         this.returnListeners.Remove(listener);
         this.channelDelegate.BasicReturn -= listener;
     }
 }
Esempio n. 3
0
 /// <summary>The add return listener.</summary>
 /// <param name="listener">The listener.</param>
 public void AddReturnListener(BasicReturnEventHandler listener)
 {
     this.returnListeners.Add(listener);
     this.channelDelegate.BasicReturn += listener;
 }
 /// <summary>The add return listener.</summary>
 /// <param name="listener">The listener.</param>
 public void AddReturnListener(BasicReturnEventHandler listener)
 {
     this.returnListeners.Add(listener);
     this.channelDelegate.BasicReturn += listener;
 }