private void FileTunnelClientConnection_MessageRecieved(object sender, LibraryBase.Messages.Message e) { if (e is MessageCarrier mc) { MessageCarrierReceived?.Invoke(this, mc); } }
private void R_ObjectRecieved(object sender, MessageCarrier e) { MessageCarrierReceived?.Invoke(sender, e); }