Example #1
0
        /// <summary>
        /// Main Method for handling parsed data about existing Methods
        /// </summary>
        /// <param name="methods"> Containing information about the methods </param>
        /// <returns> Datamodel valid List of all Methods for each Class or Interface </returns>
        public List <UML_Method> AnalyzeMethodLabel(string methods)
        {
            BaseReader        readerInstance = new BaseReader(this.filepath);
            List <UML_Method> classMethods   = new List <UML_Method>();

            classMethods = readerInstance.getMethod(methods);
            return(classMethods);
        }
Example #2
0
        /// <summary>
        /// Main Method for handling parsed data about existing Attributes
        /// </summary>
        /// <param name="attr"> Containing information about the attributes </param>
        /// <returns> Datamodel valid List of all Attributes for each Class or Interface </returns>
        public List <UML_Attribute> AnalyzeAttributeLabel(string attr)
        {
            BaseReader reader = new BaseReader(this.filepath);

            List <UML_Attribute> classAttributes           = new List <UML_Attribute>();
            Dictionary <string, List <string> > attributes = new Dictionary <string, List <string> >();

            classAttributes = reader.getAttribute(attr);

            return(classAttributes);
        }