ICustomFormattingInfoFormatCode Method
Formats the specified source code.
Namespace: Ookii.FormatCAssembly: Ookii.FormatC (in Ookii.FormatC.dll) Version: 2.3.2+a0abe9e363271833c90424d1444b43a67fa5858f
bool FormatCode(
string code,
TextWriter writer
)
Function FormatCode (
code As String,
writer As TextWriter
) As Boolean
bool FormatCode(
String^ code,
TextWriter^ writer
)
abstract FormatCode :
code : string *
writer : TextWriter -> bool
- code String
- The code to format.
- writer TextWriter
- The TextWriter to write the formatted code too.
Boolean if formatting succeeded, or
if custom formatting
failed and the
CodeFormatter should fall back to regular formatting.