Class TsExpression
- Namespace
- TypedRest.CodeGeneration.TypeScript.Model
- Assembly
- TypedRest.CodeGeneration.TypeScript.dll
A TypeScript expression.
public abstract class TsExpression
- Inheritance
-
objectTsExpression
- Derived
Methods
GetImports()
Returns all imports needed by this expression.
public virtual IEnumerable<TsImport> GetImports()
Returns
ToCode()
Returns the TypeScript code for this expression.
public abstract string ToCode()
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.