public override void WriteObject(object obj, Com.Bj58.Spat.Gaea.Serializer.Component.GaeaStream outStream) { outStream.WriteUInt32(obj.GetType().GetTypeId()); string value = obj.ToString(); SerializerFactory.GetSerializer(typeof(string)).WriteObject(value,outStream); }