예제 #1
0
        private CodeClass2[] GetValidClasses()
        {
            //get only classes marked with the attribute

            var validClasses = (
                from cc in ProjectItem.GetClassesWithAttribute(AttrType)
                select cc).ToArray();

            return(validClasses);
        }
        protected virtual CodeClass2[] GetValidClasses()
        {
            //get only classes marked with the attribute

            var validClasses = (
                from cc in ProjectItem.GetClassesWithAttribute(OptionAttributeType)
                select cc).ToArray();

            return(validClasses);
        }