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

            Subscribe();
        }
예제 #2
0
 protected virtual void DisposeCore()
 {
     connection.Dispose();
 }