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