IRuleExpression.Decompile(StringBuilder, CodeExpression) Method

Definition

When overridden in a derived class, decompiles the custom expression into string form.

public:
 void Decompile(System::Text::StringBuilder ^ stringBuilder, System::CodeDom::CodeExpression ^ parentExpression);
public void Decompile (System.Text.StringBuilder stringBuilder, System.CodeDom.CodeExpression parentExpression);
abstract member Decompile : System.Text.StringBuilder * System.CodeDom.CodeExpression -> unit
Public Sub Decompile (stringBuilder As StringBuilder, parentExpression As CodeExpression)

Parameters

stringBuilder
StringBuilder

A mutable string for the decompiled expression. This method should append the decompiled syntax for this subexpression.

parentExpression
CodeExpression

The parent code expression. This can be used to determine operator precedence, and whether this subexpression needs to be parenthesized.

Applies to