static int Main(string[] args) { Console.Write("NSwag command line tool for .NET Core, "); var processor = new NSwagCommandProcessor(typeof(NSwagDocument).GetTypeInfo().Assembly, new CoreConsoleHost()); return(processor.Process(args)); }
private static Task <int> Main(string[] args) { Console.Write("NSwag command line tool for .NET Core " + RuntimeUtilities.CurrentRuntime + ", "); var processor = new NSwagCommandProcessor(new CoreConsoleHost()); return(processor.ProcessAsync(args)); }
static int Main(string[] args) { Console.Write("NSwag command line tool for .NET 4.6.1+ " + RuntimeUtilities.CurrentRuntime + ", "); var processor = new NSwagCommandProcessor(new ConsoleHost()); return(processor.Process(args)); }