NClass.Core.Field.GetUmlDescription C# (CSharp) Method

GetUmlDescription() public final method

public final GetUmlDescription ( bool getType, bool getParameters, bool getParameterNames, bool getInitValue ) : string
getType bool
getParameters bool
getParameterNames bool
getInitValue bool
return 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();
		}