TypeScriptGeneratorSettingsExtensions.

WithModuleName(TypeScriptGeneratorSettings, string) Method

Summary

Sets the module name for the generated client

Syntax

public static TypeScriptGeneratorSettings WithModuleName(this TypeScriptGeneratorSettings settings, string moduleName)

Parameters

Name Type Description
settings TypeScriptGeneratorSettings The settings
moduleName string A valid TypeScript module name for the generated module

Return Value

Type Description
TypeScriptGeneratorSettings The updated settings object