This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.AutoRest.
Summary
Extension methods to enable fluent configuration of
AutoRestSettings
- Assembly
- Cake
.AutoRest .dll - Namespace
- Cake
.AutoRest - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["AutoRestSettingsExtensions"]
class Type type-node
Syntax
public static class AutoRestSettingsExtensions
Methods
Name | Value | Summary |
---|---|---|
AddCredentials |
AutoRestSettings |
Enables the inclusion of a ServiceClientCredentials property and constructor parameter in generated code
static
|
AddHeaderComment |
AutoRestSettings |
Sets the generated code header comment
static
|
OutputToDirectory |
AutoRestSettings |
Sets the output directory for generated code
static
|
OutputToFile |
AutoRestSettings |
Will cause generated code to be output to the specified single file. Not supported by all code generators.
static
|
UseClientName |
AutoRestSettings |
Sets the client name to use in generated code
static
|
UseFlattenThreshold |
AutoRestSettings |
Sets the property flattening threshold (see
AutoRestSettings )
static
|
UseNamespace |
AutoRestSettings |
Sets the client namespace
static
|
WithGenerator |
AutoRestSettings |
Sets the Generator used by AutoRest
static
|
WithModeler |
AutoRestSettings |
Sets the modeler used by AutoRest
static
|
WithVerboseOutput |
AutoRestSettings |
Enables verbose/diagnostic messages
static
|
Extension Methods
Name | Value | Summary |
---|---|---|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
Returns the string value or a
Not set > markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|