Open sandboxFocus

Method AddExpression

AddExpression(dynamic?, int?, string?)

Adds an expression to the interpolated string.

Declaration
public void AddExpression(dynamic? expression, int? alignment = null, string? format = null)
Parameters
Type Name Description
dynamic expression
int? alignment
string format

AddExpression(IExpression?, int?, string?)

Adds an expression to the interpolated string.

Declaration
public void AddExpression(IExpression? expression, int? alignment = null, string? format = null)
Parameters
Type Name Description
IExpression expression
int? alignment
string format