Beispiel #1
0
 void OnPackageSent(AccessPointFrame package)
 {
     if (PackageSent != null)
     {
         PackageSent(package);
     }
 }
Beispiel #2
0
        public void Log(AccessPointFrame frame)
        {
            var serializer = typeof(AccessPointFrame).GetCustomAttributes(typeof(IBinarySerializer), false).First() as IBinarySerializer;

            Console.WriteLine(serializer.SerializeToString(frame));
        }