/// <summary> /// Turns the TypescriptFunctionSignature into a TypescriptInterfaceContent. /// </summary> /// <param name="typescriptFunctionSignature"></param> public static TypescriptInterfaceContent ToTypescriptInterfaceContent(this TypescriptFunctionSignature typescriptFunctionSignature) { return(new TypescriptInterfaceContent(typescriptFunctionSignature)); }
/// <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)); }