语言

HostingExtensions.GetParseResult 方法

定义

重载

GetParseResult(HostBuilderContext)

Source:
HostingExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
 static System::CommandLine::ParseResult ^ GetParseResult(Microsoft::Extensions::Hosting::HostBuilderContext ^ context);
public static System.CommandLine.ParseResult GetParseResult(this Microsoft.Extensions.Hosting.HostBuilderContext context);
static member GetParseResult : Microsoft.Extensions.Hosting.HostBuilderContext -> System.CommandLine.ParseResult
<Extension()>
Public Function GetParseResult (context As HostBuilderContext) As ParseResult

参数

返回

适用于

GetParseResult(IHostBuilder)

Source:
HostingExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
 static System::CommandLine::ParseResult ^ GetParseResult(Microsoft::Extensions::Hosting::IHostBuilder ^ hostBuilder);
public static System.CommandLine.ParseResult GetParseResult(this Microsoft.Extensions.Hosting.IHostBuilder hostBuilder);
static member GetParseResult : Microsoft.Extensions.Hosting.IHostBuilder -> System.CommandLine.ParseResult
<Extension()>
Public Function GetParseResult (hostBuilder As IHostBuilder) As ParseResult

参数

hostBuilder
IHostBuilder

返回

适用于