TextHelperReformatCode Method (String, Int32, String) |
Reformats the C# or JS code so it is properly indented.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.0.0
Syntax public static string ReformatCode(
string text,
int indent,
string indentString
)
Parameters
- text
- Type: SystemString
Text to indent - indent
- Type: SystemInt32
Initial indent level - indentString
- Type: SystemString
Indentation string
Return Value
Type:
StringSee Also