/// <summary> /// 传进一个类型名字,创建该类型的反射类 /// 毕竟主工程中可能拿不到该类型,只能通过传名字来完成操作 /// </summary> /// <param name="type"></param> public Class(string type) { this.type = ReleactionUtils.GetType(type); name = type; memberList.Clear(); }
public object ConvertObject(Type type) { return(ReleactionUtils.ConvertObject(Value, type)); }