Ejemplo n.º 1
0
        public override ParameterInfo[] GetParameters()
        {
            var a = this.InternalMethod.getParameterTypes();
            var n = new ParameterInfo[a.Length];

            for (int i = 0; i < a.Length; i++)
            {
                n[i] = new __ParameterInfo
                {
                    ParameterType = (__Type)a[i],
                    Position = i
                };
            }

            return n;
        }
        public override ParameterInfo[] GetParameters()
        {
            if (this.InternalConstructor == null)
                return new ParameterInfo[0];

            var a = this.InternalConstructor.getParameterTypes();
            var n = new ParameterInfo[a.Length];

            for (int i = 0; i < a.Length; i++)
            {
                n[i] = new __ParameterInfo
                {
                    ParameterType = (__Type)a[i],
                    Position = i
                };
            }

            return n;
        }