語言

HostingExtensions.GetParseResult 方法

定義

多載

GetParseResult(HostBuilderContext)

來源:
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)

來源:
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

傳回

適用於