public UMLMethod(string name, UMLDataType type, UMLVisibility visibility, params UMLParameter[] parameters) { Name = name; ReturnType = type; Parameters.AddRange(parameters); Visibility = visibility; }
public UMLMethod(UMLDataType type, UMLVisibility visibility, params UMLParameter[] parameters) : this("constructor", type, visibility, parameters) { IsConstructor = true; }