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

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