Exemple #1
0
        internal ClassObject(Type tp) : base(tp) {
            ctors = type.GetConstructors();
            binder = new ConstructorBinder(type);

            for (int i = 0; i < ctors.Length; i++) {
                binder.AddMethod(ctors[i]);
            }
        }
Exemple #2
0
        internal ClassObject(Type tp) : base(tp)
        {
            ctors  = type.GetConstructors();
            binder = new ConstructorBinder(type);

            for (int i = 0; i < ctors.Length; i++)
            {
                binder.AddMethod(ctors[i]);
            }
        }
Exemple #3
0
        internal ClassObject(Type tp) : base(tp)
        {
            ctors  = type.GetConstructors();
            binder = new ConstructorBinder(type);

            foreach (ConstructorInfo t in ctors)
            {
                binder.AddMethod(t);
            }
        }
Exemple #4
0
        internal ClassObject(Type tp) : base(tp)
        {
            var _ctors = type.Value.GetConstructors();

            NumCtors = _ctors.Length;
            binder   = new ConstructorBinder(type.Value);
            foreach (ConstructorInfo t in _ctors)
            {
                binder.AddMethod(t);
            }
        }