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.NSwag.
Summary
Sets the base class for the generated code
- Assembly
- Cake
.NSwag .dll - Namespace
- Cake
.NSwag .Settings - Containing Type
- C
Sharp Generator Settings Extensions
Syntax
public static CSharpGeneratorSettings SetBaseClass(this CSharpGeneratorSettings settings, string baseClassName)
Parameters
Name | Type | Description |
---|---|---|
settings | C |
The settings |
baseClassName | string | A valid C# class name to use as a base class |
Return Value
Type | Description |
---|---|
C |
The updated settings object |