InvocationExtensions.ConfigureConsole 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.
public:
[System::Runtime::CompilerServices::Extension]
static System::CommandLine::Builder::CommandLineBuilder ^ ConfigureConsole(System::CommandLine::Builder::CommandLineBuilder ^ builder, Func<System::CommandLine::Binding::BindingContext ^, System::CommandLine::IConsole ^> ^ createConsole);
public static System.CommandLine.Builder.CommandLineBuilder ConfigureConsole(this System.CommandLine.Builder.CommandLineBuilder builder, Func<System.CommandLine.Binding.BindingContext,System.CommandLine.IConsole> createConsole);
static member ConfigureConsole : System.CommandLine.Builder.CommandLineBuilder * Func<System.CommandLine.Binding.BindingContext, System.CommandLine.IConsole> -> System.CommandLine.Builder.CommandLineBuilder
<Extension()>
Public Function ConfigureConsole (builder As CommandLineBuilder, createConsole As Func(Of BindingContext, IConsole)) As CommandLineBuilder
Parameters
- builder
- CommandLineBuilder
- createConsole
- Func<BindingContext,IConsole>