C# Class NSwag.Commands.AssemblyTypeToSwaggerCommandBase

Inheritance: NSwag.Commands.Base.OutputCommandBase
显示文件 Open project: NSwag/NSwag

Private Properties

Property Type Description

Public Methods

Method Description
AssemblyTypeToSwaggerCommandBase ( ) : System.Threading.Tasks
RunAsync ( ) : Task
RunAsync ( CommandLineProcessor processor, IConsoleHost host ) : Task

Protected Methods

Method Description
CreateGenerator ( ) : AssemblyTypeToSwaggerGeneratorBase

Creates a new generator instance.

Method Details

AssemblyTypeToSwaggerCommandBase() public method

public AssemblyTypeToSwaggerCommandBase ( ) : System.Threading.Tasks
return System.Threading.Tasks

CreateGenerator() protected abstract method

Creates a new generator instance.
protected abstract CreateGenerator ( ) : AssemblyTypeToSwaggerGeneratorBase
return NSwag.CodeGeneration.SwaggerGenerators.AssemblyTypeToSwaggerGeneratorBase

RunAsync() public method

public RunAsync ( ) : Task
return Task

RunAsync() public method

public RunAsync ( CommandLineProcessor processor, IConsoleHost host ) : Task
processor CommandLineProcessor
host IConsoleHost
return Task