private static Indent ( string s, string indentation ) : string | ||
s | string | |
indentation | string | |
리턴 | string |
private static string Indent(string s, string indentation)
{
DebugCheck.NotEmpty(s);
DebugCheck.NotNull(s);
return new Regex(@"\r?\n *").Replace(s, Environment.NewLine + indentation);
}