public static string GetCallParameterString(params object [] parameters) { string s = ""; foreach (object p in parameters) { string paramString = CodeElementUtils.GetFormattedValue(p); if (string.IsNullOrEmpty(s)) { s = paramString; } else { s += ", " + paramString; } } return(s); }
public ParameterCodeElement(Type type, string name, object defaultValue) : this(type, name) { DefaultValue = CodeElementUtils.GetFormattedValue(defaultValue); }
public void AddParameter(bool parameter) { Parameters.Add(CodeElementUtils.GetFormattedValue(parameter)); }