Example #1
0
 protected Task <bool> TryWriteDocumentOutputAsync(IConsoleHost host, Func <OpenApiDocument> generator)
 {
     return(OutputCommandExtensions.TryWriteDocumentOutputAsync(this, host, generator));
 }
Example #2
0
 protected Task <bool> TryWriteFileOutputAsync(string path, IConsoleHost host, Func <string> generator)
 {
     return(OutputCommandExtensions.TryWriteFileOutputAsync(this, path, host, generator));
 }
Example #3
0
 protected Task <bool> TryWriteFileOutputAsync(IConsoleHost host, Func <string> generator)
 {
     return(OutputCommandExtensions.TryWriteFileOutputAsync(this, host, NewLineBehavior, generator));
 }