Table of Contents

Class TsLiteral

Namespace
TypedRest.CodeGeneration.TypeScript.Model
Assembly
TypedRest.CodeGeneration.TypeScript.dll

A string literal.

public sealed class TsLiteral : TsExpression
Inheritance
object
TsLiteral
Inherited Members

Constructors

TsLiteral(string)

A string literal.

public TsLiteral(string value)

Parameters

value string

The value of the literal.

Properties

Value

The value of the literal.

public string Value { get; }

Property Value

string

Methods

ToCode()

Returns the TypeScript code for this expression.

public override string ToCode()

Returns

string