/// <summary> /// 构造函数 /// </summary> /// <param name="serializeEnum">序列化类型 enum</param> public SerializeHelper(SerializeEnum serializeEnum) { this.serializeEnum = serializeEnum; init(); }
/// <summary> /// 构造函数 /// </summary> /// <param name="serializeEnum">序列化类型 string</param> public SerializeHelper(string serializeEnum) { this.serializeEnum = serializeEnum.ToEnum <SerializeEnum>(); init(); }