Class TsName
- Namespace
- TypedRest.CodeGeneration.TypeScript.Model
- Assembly
- TypedRest.CodeGeneration.TypeScript.dll
References a variable or parameter by name.
public sealed class TsName : TsExpression
- Inheritance
-
objectTsName
- Inherited Members
Constructors
TsName(string)
References a variable or parameter by name.
public TsName(string name)
Parameters
namestringThe name of the variable or parameter.
Properties
Name
The name of the variable or parameter.
public string Name { get; }
Property Value
Methods
ToCode()
Returns the TypeScript code for this expression.
public override string ToCode()