public final GetUmlDescription ( bool getType, bool getParameters, bool getParameterNames, bool getInitValue ) : string | ||
getType | bool | |
getParameters | bool | |
getParameterNames | bool | |
getInitValue | bool | |
Résultat | string |
public sealed override string GetUmlDescription(bool getType, bool getParameters,
bool getParameterNames, bool getInitValue)
{
StringBuilder builder = new StringBuilder(50);
builder.Append(Name);
if (getType)
builder.AppendFormat(": {0}", Type);
if (getInitValue && HasInitialValue)
builder.AppendFormat(" = {0}", InitialValue);
return builder.ToString();
}