CSharpGeneratorSettings Class

graph BT Type-->Base0["GeneratorSettings"] click Base0 "/api/Cake.NSwag.Console.Settings/GeneratorSettings" Base0-->Base1["Object"] Type["CSharpGeneratorSettings"] class Type type-node

Syntax

public class CSharpGeneratorSettings : GeneratorSettings

Properties

Name Value Summary
BaseClass string
ExceptionClass string
GenerateInterfaces bool
Namespaces List<string>

Extension Methods

Name Value Summary
AddNamespace(string) CSharpGeneratorSettings
Requires the Cake.NSwag.Console addin
Dump<CSharpGeneratorSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
EnableInterfaces() CSharpGeneratorSettings
Requires the Cake.NSwag.Console addin
IsIn<CSharpGeneratorSettings>(CSharpGeneratorSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<CSharpGeneratorSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<CSharpGeneratorSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
SetBaseClass(string) CSharpGeneratorSettings
Requires the Cake.NSwag.Console addin
ThrowIfNull<CSharpGeneratorSettings>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<CSharpGeneratorSettings>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin
UseExceptionClass(string) CSharpGeneratorSettings
Requires the Cake.NSwag.Console addin