public TypeScriptMethod(string name, List<TypeScriptField> arguments, TypeScriptType returnType) : base(name) { this.IsMethod = true; this.Arguments = arguments; this.ReturnType = returnType; }
public TypeScriptClass(string name, TypeScriptType baseType, List<TypeScriptType> implementedInterfaces, List<TypeScriptField> fields, List<TypeScriptProperty> properties) : base(name) { this.IsClass = true; this.BaseType = baseType; this.ImplementedInterfaces = implementedInterfaces; this.Fields = fields; this.Properties = properties; }
public TypeScriptArray(string name, TypeScriptType type) : base(name) { this.IsArray = true; this.Type = type; }
public TypeScriptField(string name, object value, TypeScriptType type) : base(name) { this.IsField = true; this.Type = type; this.Value = value; }