Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Code.​Syntax­Builders / Syntax­Builder / Append­Expression

Method AppendExpression

AppendExpression(IExpression)

Appends an expression to the Metalama.Framework.Code.SyntaxBuilders.SyntaxBuilder.StringBuilder, where the expression is given as an IExpression.

Declaration
public void AppendExpression(IExpression expression)
Parameters
Type Name Description
IExpression expression

AppendExpression(IExpressionBuilder)

Appends an expression to the Metalama.Framework.Code.SyntaxBuilders.SyntaxBuilder.StringBuilder, where the expression is given as an IExpressionBuilder.

Declaration
public void AppendExpression(IExpressionBuilder expression)
Parameters
Type Name Description
IExpressionBuilder expression

AppendExpression(Object)

Appends an expression to the Metalama.Framework.Code.SyntaxBuilders.SyntaxBuilder.StringBuilder, where the expression is a C# expression.

Declaration
public void AppendExpression(dynamic expression)
Parameters
Type Name Description
Object expression