示例#1
0
        public void FakeTupleTest()
        {
            //Turkish culture has unusual case-sensitivity rules:  http://blog.codinghorror.com/whats-wrong-with-turkey/
            Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("tr-TR");

            byte[] ser;
            using (var ms = new MemoryStream())
            {
                var t = new ForTupleSerializer(123, "abc");
                Serializer.Serialize(ms, t);
                ser = ms.ToArray();
            }
        }
示例#2
0
 public void FakeTupleTest()
 {
     //Turkish culture has unusual case-sensitivity rules:  http://blog.codinghorror.com/whats-wrong-with-turkey/
     Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("tr-TR");
     
     byte[] ser;
     using (var ms = new MemoryStream())
     {
         var t = new ForTupleSerializer(123, "abc");
         Serializer.Serialize(ms, t);
         ser = ms.ToArray();
     }
 }