/// <summary> /// Gets a basic string representation of the definition. /// </summary> /// <returns>a basic string representation of the definition</returns> public override string ToString() { var ret = ""; if (ArgumentScaffoldType != null) { ret += ArgumentScaffoldType.Name; } ret += "(Arguments=" + Arguments.Count + ")"; ret += "(Actions=" + Actions.Count + ")"; ret += "(Hooks=" + Hooks.Count() + ")"; return(ret); }
/// <summary> /// Gets the string representation of this argument. /// </summary> /// <returns>the string representation of this argument.</returns> public override string ToString() { var ret = ""; if (Aliases.Count > 0) { ret += DefaultAlias + "<" + ArgumentType.Name + ">"; } ret += "(Aliases=" + Aliases.Count + ")"; ret += "(Validators=" + Validators.Count() + ")"; ret += "(Hooks=" + Hooks.Count() + ")"; return(ret); }