Humility/Generation/Utilities/CodeBuilder.cs
/// <summary>
/// Creates the closing of a body as a string with custom indent spacing.
/// </summary>
Creates the closing of a body as a string with custom indent spacing.
Creates the closing of a body as a string with custom indent spacing .
public static string CloseBody(int indent, int spaces)
        {
            var output = string.Empty;
            output += Indent(indent) + "}";
            for (int i = 0; i < spaces; i++)
            {
                output += "\n";
            }
            return output;
        }
public static string CloseBody ( int indent , int spaces ) { var output = string . Empty ; output += Indent ( indent ) + " " ; for ( int i = 0 ; i < spaces ; i ++ ) { output += " \n " ; } return output ; }
Creates the closing of a body as a string with custom indent spacing.
Creates the closing of a body as a string with custom indent spacing .
indent
int
spaces
int