Exemple #1
0
 /// <summary>
 /// Turns the TypescriptFunctionSignature into a TypescriptInterfaceContent.
 /// </summary>
 /// <param name="typescriptFunctionSignature"></param>
 public static TypescriptInterfaceContent ToTypescriptInterfaceContent(this TypescriptFunctionSignature typescriptFunctionSignature)
 {
     return(new TypescriptInterfaceContent(typescriptFunctionSignature));
 }
Exemple #2
0
 /// <summary>
 /// Creates and adds a new TypescriptInterfaceContent using the given TypescriptFunctionSignature.
 /// </summary>
 /// <param name="typescriptFunctionSignature">The typescriptFunctionSignature to add.</param>
 public void Add(TypescriptFunctionSignature typescriptFunctionSignature)
 {
     Add(new TypescriptInterfaceContent(typescriptFunctionSignature));
 }