Пример #1
0
        private void GenerateConstructor()
        {
            ArgumentReference arg1 = new ArgumentReference(typeof(object));
            ArgumentReference arg2 = new ArgumentReference(typeof(IntPtr));

            _constructor = CreateRuntimeConstructor(arg1, arg2);
        }
Пример #2
0
        public EasyConstructor CreateConstructor(params ArgumentReference[] arguments)
        {
            EasyConstructor member = new EasyConstructor(this, arguments);

            _constructors.Add(member);
            return(member);
        }
Пример #3
0
 public void Add(EasyConstructor constructor)
 {
     InnerList.Add(constructor);
 }