NDepend.API Documentation
TryGetRuleHowToFix Method
NDepend.CodeQuery Namespace > ExtensionMethodsQuery Class : TryGetRuleHowToFix Method
The rule string.
The string formatting kind of the output string.
The how-to-fix-rule explanations extracted from the rule string.
Try extract the how-to-fix-rule explanations from a rule string.
Syntax

Parameters

ruleString
The rule string.
stringFormattingKind
The string formatting kind of the output string.
ruleHowToFix
The how-to-fix-rule explanations extracted from the rule string.

Return Value

true if the how-to-fix-rule explanations has been extracted, else returns false.
Remarks
The how-to-fix-rule explanations, if any, is enclosed between the tags <HowToFix> and </HowToFix>.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ExtensionMethodsQuery Class
ExtensionMethodsQuery Members