AutoRestSettingsExtensions.

WithGenerator(AutoRestSettings, CodeGenerator, IGeneratorSettings) Method

Summary

Sets the Generator used by AutoRest
Assembly
Cake.AutoRest.dll
Namespace
Cake.AutoRest
Containing Type
AutoRestSettingsExtensions

Syntax

public static AutoRestSettings WithGenerator(this AutoRestSettings settings, CodeGenerator gen, IGeneratorSettings genSettings = null)

Parameters

Name Type Description
settings AutoRestSettings Settings
gen CodeGenerator Desired code generator (any CodeGenerator member)
genSettings IGeneratorSettings Optional generator-specific settings to use

Return Value

Type Description
AutoRestSettings The updated settings object