Table of Contents

Struct TemplatePart

Namespace
Invex.StructuredText.Expressions
Assembly
Invex.StructuredText.dll

One part of a Template: either literal text or an embedded expression.

public readonly struct TemplatePart

Constructors

TemplatePart(string?, Expr?)

One part of a Template: either literal text or an embedded expression.

public TemplatePart(string? Text, Expr? Expression)

Parameters

Text string

The literal text, when this part is text.

Expression Expr

The expression, when this part is an expression.

Properties

Expression

The expression, when this part is an expression.

public Expr? Expression { get; init; }

Property Value

Expr

Text

The literal text, when this part is text.

public string? Text { get; init; }

Property Value

string