/// <include file='doc\AxParameterData.uex' path='docs/doc[@for="AxParameterData.AxParameterData3"]/*' /> /// <devdoc> /// <para>[To be supplied.]</para> /// </devdoc> public AxParameterData(ParameterInfo info, bool ignoreByRefs) { Name = info.Name; this.type = info.ParameterType; this.typeName = AxWrapperGen.MapTypeName(info.ParameterType); this.isByRef = info.ParameterType.IsByRef && !ignoreByRefs; this.isIn = info.IsIn && !ignoreByRefs; this.isOut = info.IsOut && !this.isIn && !ignoreByRefs; this.isOptional = info.IsOptional; }
public AxParameterData(System.Reflection.ParameterInfo info, bool ignoreByRefs) { this.paramInfo = info; this.Name = info.Name; this.type = info.ParameterType; this.typeName = AxWrapperGen.MapTypeName(info.ParameterType); this.isByRef = info.ParameterType.IsByRef && !ignoreByRefs; this.isIn = info.IsIn && !ignoreByRefs; this.isOut = (info.IsOut && !this.isIn) && !ignoreByRefs; this.isOptional = info.IsOptional; }
/// <include file='doc\AxParameterData.uex' path='docs/doc[@for="AxParameterData.AxParameterData1"]/*' /> /// <devdoc> /// <para>[To be supplied.]</para> /// </devdoc> public AxParameterData(string inname, Type type) { Name = inname; this.type = type; this.typeName = AxWrapperGen.MapTypeName(type); }