} // 类型标识 void ITypeSerialize.WriteTo(object obj, IStream ms) { ms.WriteString(Str2Enum.GetEnumStr(obj, enumType)); }
// 把值写入到ab当中 void ITypeSerialize.WriteTo(object value, Nested.AnyBase ab) { ab.baseValue = Str2Enum.GetEnumStr(value, enumType); }
} // 类型标识 void ITypeSerialize.WriteTo(object obj, IStream ms) { ms.WriteString(Str2Enum.GetEnumStr(obj, enumType)); }
// 把值写入到ab当中 void ITypeSerialize.WriteTo(object value, Nested.AnyBase ab) { ab.baseValue = Str2Enum.GetEnumStr(value, enumType); }