예제 #1
0
 /// <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));
 }
예제 #2
0
 /// <summary>
 /// Turns the TypescriptClass into a TypescriptType.
 /// </summary>
 /// <param name="typescriptClass"></param>
 public static TypescriptType ToTypescriptType(this TypescriptClass typescriptClass)
 {
     return(new TypescriptType(typescriptClass));
 }
예제 #3
0
 /// <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));
 }