Exemplo n.º 1
0
        public void OnChannelClosed(object sender, EventArgs e)
        {
            if (channel != null)
            {
                channel.Closed -= OnChannelClosed;
                channel.Dispose();
                channel = null;
            }

            Subscribe();
        }
Exemplo n.º 2
0
 protected virtual void DisposeCore()
 {
     connection.Dispose();
 }