Move code into dedicated components

This commit is contained in:
Christian
2023-03-08 17:04:44 +01:00
parent 129348c07b
commit 202e299f65
16 changed files with 468 additions and 267 deletions
@@ -30,7 +30,7 @@ namespace MQTTnet.Tests.Diagnostics
var packets = new List<string>();
mqttClient.InspectPackage += eventArgs =>
mqttClient.InspectPackageAsync += eventArgs =>
{
packets.Add(eventArgs.Direction + ":" + Convert.ToBase64String(eventArgs.Buffer));
return CompletedTask.Instance;