private void Client_BinaryReceived(object sender, BinaryReceivedEventArgs e) { var args = new ServerReceivedBinaryEventArgs(sender as Connection, e); BinaryReceived?.Invoke(this, args); OnBinaryReceived(args); }
public ServerReceivedBinaryEventArgs(Connection source, BinaryReceivedEventArgs args) { _source = source; _binary = args.Binary; }