示例#1
0
        public UMLMethod(string name, UMLDataType type, UMLVisibility visibility, params UMLParameter[] parameters)
        {
            Name       = name;
            ReturnType = type;

            Parameters.AddRange(parameters);
            Visibility = visibility;
        }
示例#2
0
 public UMLMethod(UMLDataType type, UMLVisibility visibility, params UMLParameter[] parameters) : this("constructor", type, visibility, parameters)
 {
     IsConstructor = true;
 }