/// <summary> /// Creates and adds a new TypescriptType using the given TypescriptClass. /// </summary> /// <param name="typescriptClass">The typescriptClass to add.</param> public void Add(TypescriptClass typescriptClass) { Add(new TypescriptType(typescriptClass)); }
/// <summary> /// Turns the TypescriptClass into a TypescriptType. /// </summary> /// <param name="typescriptClass"></param> public static TypescriptType ToTypescriptType(this TypescriptClass typescriptClass) { return(new TypescriptType(typescriptClass)); }
/// <summary> /// Creates a new TypescriptGenericTypeArgument using the given class. /// </summary> /// <param name="class">The class to add.</param> public void Add(TypescriptClass @class) { Add(new TypescriptGenericTypeArgument(@class)); }