Exemple #1
0
        public invokerparam1 GetInvokerparam1(string method)
        {
            invokerparam1 inv = null;

            if (!invoker.invokerparam1_dict.TryGetValue(method, out inv))
            {
                inv = new invokerparam1(method);
                invoker.invokerparam1_dict[method] = inv;
            }
            return(inv);
        }
Exemple #2
0
        public invokerparam1 __getParam1(int index, bool p)
        {
            if (this.invokerparams1 == null)
            {
                this.invokerparams1 = new invokerparam1[this.IMethods().Length];
            }
            invokerparam1 invokerparam = this.invokerparams1[index];

            if (invokerparam == null)
            {
                invokerparam = new invokerparam1(this.IMethods()[index], p);
                this.invokerparams1[index] = invokerparam;
            }
            return(invokerparam);
        }