Table of Contents

Class TsExpression

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

A TypeScript expression.

public abstract class TsExpression
Inheritance
object
TsExpression
Derived

Methods

GetImports()

Returns all imports needed by this expression.

public virtual IEnumerable<TsImport> GetImports()

Returns

IEnumerable<TsImport>

ToCode()

Returns the TypeScript code for this expression.

public abstract string ToCode()

Returns

string

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.