public static void ReceiveConnectionStateEvents(this IConnectable to, IConnectable from) { from.Connected += (sender, args) => to.OnConnected(); from.Connecting += (sender, args) => to.OnConnecting(); from.Disconnected += (sender, args) => to.OnDisconnected(); }