HostingExtensions.GetParseResult 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
参数
- context
- HostBuilderContext
返回
适用于
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