//Member.Name, Member.ParameterType.Name, Member.ParameterType.Namespace, Member.ParameterType, Member.DefaultValue ///// <summary> ///// 初始化,并赋值 ///// </summary> ///// <param name="Name"></param> ///// <param name="Type"></param> ///// <param name="SpaceType"></param> ///// <param name="ParameterType"></param> ///// <param name="DefaultValue"></param> //internal Parameter(string Name, string Type, string SpaceType, Type ParameterType, object DefaultValue) //{ // this.Name = Name; // this.Type = Type; // this.SpaceType = SpaceType; // this.ParameterType = ParameterType; // this.DefaultValue = DefaultValue; // this.ParameterObj = ParameterType.DefaultForType(); // this.IsType = ParameterType.IsType(); //} /// <summary> /// 初始化,并赋值 /// </summary> /// <param name="parameter">原对象模型</param> public Parameter(ParameterInfo parameter) { this.GetParameter = parameter; this.ParameterObj = ParameterType.DefaultForType(); this.IsType = ParameterType.IsType(); }