C# Class NSwag.Commands.Document.ExecuteDocumentCommandBase

Inheritance: IConsoleCommand
显示文件 Open project: NSwag/NSwag

Private Properties

Property Type Description
ExecuteDocumentAsync System.Threading.Tasks.Task

Public Methods

Method Description
RunAsync ( CommandLineProcessor processor, IConsoleHost host ) : Task

Protected Methods

Method Description
LoadDocumentAsync ( string filePath ) : Task

Loads an existing NSwagDocument.

Private Methods

Method Description
ExecuteDocumentAsync ( IConsoleHost host, string filePath ) : System.Threading.Tasks.Task

Method Details

LoadDocumentAsync() protected abstract method

Loads an existing NSwagDocument.
protected abstract LoadDocumentAsync ( string filePath ) : Task
filePath string The file path.
return Task

RunAsync() public method

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