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