CSharpGeneratorSettingsExtensions Class

Summary

Fluent extension methods for the CSharpGeneratorSettings class.
Assembly
Cake.NSwag.dll
Namespace
Cake.NSwag.Settings
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["CSharpGeneratorSettingsExtensions"] class Type type-node

Syntax

public static class CSharpGeneratorSettingsExtensions

Attributes

Type Description
DebuggerStepThroughAttribute

Methods

Name Value Summary
AddNamespace(CSharpGeneratorSettings, string) CSharpGeneratorSettings
Adds an additional namespace usage
static
EnableInterfaces(CSharpGeneratorSettings) CSharpGeneratorSettings
Enables generating interfaces when generating the client
static
SetBaseClass(CSharpGeneratorSettings, string) CSharpGeneratorSettings
Sets the base class for the generated code
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin