public void AddMethod(string methodName, Type returnType, Type[] parameters)
        {
            InterfaceMethodInfo info = new InterfaceMethodInfo();
            info.MethodName = methodName;
            info.ReturnType = returnType;
            info.ArgumentTypes = parameters;

            _methods.Add(info);
        }
Esempio n. 2
0
        public void AddMethod(string methodName, Type returnType, Type[] parameters)
        {
            var info = new InterfaceMethodInfo
            {
                MethodName    = methodName,
                ReturnType    = returnType,
                ArgumentTypes = parameters
            };

            _methods.Add(info);
        }