MetalamaAPI documentationAspect APIMetalama.​Framework.​Code.​Syntax­BuildersInterpolated­String­BuilderAdd­Expression
Open sandboxFocus

InterpolatedStringBuilder.AddExpression Method

AddExpression(Object, Nullable<Int32>, String)

Adds an expression to the interpolated string.

Declaration
public void AddExpression(dynamic expression, Nullable<int> alignment = null, string format = null)
Parameters
Type Name Description
System.Object expression
System.Nullable<System.Int32> alignment
System.String format