/// <summary>
 /// Initializes a new instance of the <see cref="PeerTradeInfoHandlerChangedEventArgs{TChar, TItem, TItemInfo}"/> class.
 /// </summary>
 /// <param name="oldHandler">The old (last) peer trade information handler. Can be null.</param>
 /// <param name="newHandler">The new (current) peer trade information handler. Can be null.</param>
 public PeerTradeInfoHandlerChangedEventArgs(ClientPeerTradeInfoHandlerBase <TChar, TItem, TItemInfo> oldHandler,
                                             ClientPeerTradeInfoHandlerBase <TChar, TItem, TItemInfo> newHandler)
 {
     _oldHandler = oldHandler;
     _newHandler = newHandler;
 }
예제 #2
0
 /// <summary>
 /// When overridden in the derived class, handles when the PeerTradeInfoHandler property's value changes.
 /// </summary>
 /// <param name="oldHandler">The old (last) peer trade information handler. Can be null.</param>
 /// <param name="newHandler">The new (current) peer trade information handler. Can be null.</param>
 protected virtual void OnPeerTradeInfoHandlerChanged(ClientPeerTradeInfoHandlerBase <TChar, TItem, TItemInfo> oldHandler,
                                                      ClientPeerTradeInfoHandlerBase <TChar, TItem, TItemInfo> newHandler)
 {
 }