Esempio n. 1
0
        protected CodeElements GetCustomAttributes(CodeAttributeDeclarationCollection collection)
        {
            CodeDomCodeElements res = new CodeDomCodeElements(DTE, this);

            //!!! not right
            return(res);
        }
Esempio n. 2
0
        protected CodeElements GetParameters(CodeParameterDeclarationExpressionCollection collection)
        {
            CodeDomCodeElements res = new CodeDomCodeElements(DTE, this);

            foreach (CodeParameterDeclarationExpression param in collection)
            {
                if (param.UserData[CodeKey] == null)
                {
                    param.UserData[CodeKey] = new CodeDomCodeParameter(this, param);
                }
                res.Add(CodeDomCodeParameter.GetCodeParameter(param));
            }
            return(res);
        }