Пример #1
0
 /// <summary>
 /// 序列化数据值
 /// </summary>
 /// <param name="serializer"></param>
 /// <param name="value"></param>
 private static void serializeUInt(AutoCSer.Json.Serializer serializer, object value)
 {
     serializer.Serialize((uint)value);
 }
Пример #2
0
 /// <summary>
 /// 序列化数据值
 /// </summary>
 /// <param name="serializer"></param>
 /// <param name="value"></param>
 private static void serializeULong(AutoCSer.Json.Serializer serializer, object value)
 {
     serializer.Serialize((ulong)value);
 }
Пример #3
0
 /// <summary>
 /// 序列化数据值
 /// </summary>
 /// <param name="serializer"></param>
 /// <param name="value"></param>
 private static void serializeSByte(AutoCSer.Json.Serializer serializer, object value)
 {
     serializer.Serialize((sbyte)value);
 }
Пример #4
0
 /// <summary>
 /// 序列化数据值
 /// </summary>
 /// <param name="serializer"></param>
 /// <param name="value"></param>
 private static void serializeUShort(AutoCSer.Json.Serializer serializer, object value)
 {
     serializer.Serialize((ushort)value);
 }
Пример #5
0
 /// <summary>
 /// 序列化数据值
 /// </summary>
 /// <param name="serializer"></param>
 /// <param name="value"></param>
 private static void serializeGuid(AutoCSer.Json.Serializer serializer, object value)
 {
     serializer.Serialize((Guid)value);
 }
Пример #6
0
 /// <summary>
 /// 序列化数据值
 /// </summary>
 /// <param name="serializer"></param>
 /// <param name="value"></param>
 private static void serializeBool(AutoCSer.Json.Serializer serializer, object value)
 {
     serializer.Serialize((bool)value);
 }
Пример #7
0
 /// <summary>
 /// 序列化数据值
 /// </summary>
 /// <param name="serializer"></param>
 /// <param name="value"></param>
 private static void serializeDecimal(AutoCSer.Json.Serializer serializer, object value)
 {
     serializer.Serialize((decimal)value);
 }
Пример #8
0
 /// <summary>
 /// 序列化数据值
 /// </summary>
 /// <param name="serializer"></param>
 /// <param name="value"></param>
 private static void serializeFloat(AutoCSer.Json.Serializer serializer, object value)
 {
     serializer.Serialize((float)value);
 }
Пример #9
0
 /// <summary>
 /// 序列化数据值
 /// </summary>
 /// <param name="serializer"></param>
 /// <param name="value"></param>
 private static void serializeDouble(AutoCSer.Json.Serializer serializer, object value)
 {
     serializer.Serialize((double)value);
 }
Пример #10
0
 /// <summary>
 /// 序列化数据值
 /// </summary>
 /// <param name="serializer"></param>
 /// <param name="value"></param>
 private static void serializeDateTime(AutoCSer.Json.Serializer serializer, object value)
 {
     serializer.Serialize((DateTime)value);
 }
Пример #11
0
 /// <summary>
 /// 序列化数据值
 /// </summary>
 /// <param name="serializer"></param>
 /// <param name="value"></param>
 private static void serializeString(AutoCSer.Json.Serializer serializer, object value)
 {
     serializer.Serialize((string)value);
 }