Esempio n. 1
0
        public UMLClass(string stereoType, string @namespace, bool isAbstract,
                        string name, IEnumerable <UMLDataType> baseClasses, params UMLInterface[] interfaces) : base(name, @namespace, interfaces)
        {
            StereoType = stereoType;
            if (baseClasses is not null)
            {
                Bases.AddRange(baseClasses);
            }

            IsAbstract = isAbstract;
        }
Esempio n. 2
0
 public UMLInterface(string @namespace, string name, IEnumerable <UMLDataType> @bases) : base(name, @namespace)
 {
     Bases.AddRange(@bases);
 }