Open.Testing.Models.MethodInfo.FormatName C# (CSharp) Method

FormatName() public static method

Formats a name into a display name (replace underscores with spaces etc.).
public static FormatName ( string name ) : string
name string The name to format.
return string
        public static string FormatName(string name)
        {
            name = name.Replace("__", ": ");
            name = name.Replace("_", " ");
            name = Helper.String.ToSentenceCase(name);
            return name;
        }
        #endregion