Metalama 1.0 / / Metalama Documentation / Aspect API Documentation / Metalama.​Framework.​Code.​Syntax­Builders / Interpolated­String­Builder

Class InterpolatedStringBuilder

Compile-time object that allows to build a run-time interpolated string.

Inheritance
InterpolatedStringBuilder
Namespace: Metalama.Framework.Code.SyntaxBuilders
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public sealed class InterpolatedStringBuilder : Object, INotNullExpressionBuilder, IExpressionBuilder

Constructors

Name Description
InterpolatedStringBuilder()

Methods

Name Description
AddExpression(Object)

Adds an expression to the interpolated string.

AddText(String)

Adds a fixed text to the interpolated string.

Clone()
ToExpression()

Creates a compile-time IExpression from the current ExpressionBuilder.

Extension Methods

PresentingExtensions.AsHyperlink(Object)