public bool Equals(PeerConnection other) { if (_channel != null) { return(_channel.Equals(other._channel)); } return(RemotePeer.Equals(other.RemotePeer)); }