InvocationExtensions.ConfigureConsole Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
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
Параметры
- builder
- CommandLineBuilder
- createConsole
- Func<BindingContext,IConsole>