Example #1
0
        public UMLParameter(string name, UMLDataType type, ListTypes listTypes = ListTypes.None)
        {
            Name     = name;
            ListType = listTypes;

            ObjectType = type;
        }
Example #2
0
 public UMLProperty(string name, UMLDataType type, UMLVisibility visibility,
                    ListTypes listType, bool isStatic, bool isAbstract, bool drawnWithLine) : base(name, type, listType)
 {
     Visibility    = visibility;
     IsStatic      = isStatic;
     IsAbstract    = isAbstract;
     DrawnWithLine = drawnWithLine;
 }
        private void AddAll(UMLDataType uMLDataType, List <string> matchingAutoCompletes, string word)
        {
            uMLDataType.Methods.ForEach(z =>
            {
                if (string.IsNullOrEmpty(word) || z.Signature.Contains(word, StringComparison.InvariantCultureIgnoreCase))
                {
                    MatchingAutoCompletes.Add(z.Signature);
                }
            });
            uMLDataType.Properties.ForEach(z =>
            {
                if (string.IsNullOrEmpty(word) || z.Signature.Contains(word, StringComparison.InvariantCultureIgnoreCase))
                {
                    MatchingAutoCompletes.Add(z.Signature);
                }
            });

            foreach (UMLDataType?item in uMLDataType.Bases)
            {
                AddAll(item, matchingAutoCompletes, word);
            }
        }
Example #4
0
 private record DataTypeRecord(UMLDataType DataType, string FileName);