HostingExtensions.GetParseResult Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
Parameters
- context
- HostBuilderContext
Returns
Applies to
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
Parameters
- hostBuilder
- IHostBuilder